Skip to content

Commit

Permalink
put progressview back into storyboard to fix layout that is no longer…
Browse files Browse the repository at this point in the history
… working
  • Loading branch information
johnhartman committed Sep 23, 2015
1 parent f12dc5b commit 2944efd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions Classy/Base.lproj/classy.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
<outlet property="currentActivityLabel" destination="BgS-du-i0y" id="AlN-om-RZC"/>
<outlet property="nextActivityLabel" destination="ASE-1B-eKw" id="dnP-Ci-mnU"/>
<outlet property="nextActivityStartTimeLabel" destination="xqP-zY-dkd" id="qIL-KZ-Jqw"/>
<outlet property="progressView" destination="lPY-sK-2S0" id="Vcj-uf-Mfk"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
Expand Down
2 changes: 1 addition & 1 deletion Classy/Classy-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.1</string>
<string>2</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>
Expand Down
1 change: 1 addition & 0 deletions Classy/ClassyViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
IBOutlet UILabel* currentActivityLabel;
IBOutlet UILabel* nextActivityLabel;
IBOutlet UILabel* nextActivityStartTimeLabel;
IBOutlet UIProgressView* progressView;

NSTimer* countdownTimer;
}
Expand Down
5 changes: 0 additions & 5 deletions Classy/ClassyViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ - (void)viewDidLoad
[super viewDidLoad];

[self setTimer];

self.progressView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault];

self.progressView.center = self.view.center;
[self.view addSubview:self.progressView];
}

// COUNTDOWN CODE
Expand Down

0 comments on commit 2944efd

Please sign in to comment.