From 2944efd4df025777e15e3dadedab66c8898b41d5 Mon Sep 17 00:00:00 2001 From: John Hartman Date: Wed, 23 Sep 2015 14:08:46 -0700 Subject: [PATCH] put progressview back into storyboard to fix layout that is no longer working --- Classy/Base.lproj/classy.storyboard | 1 + Classy/Classy-Info.plist | 2 +- Classy/ClassyViewController.h | 1 + Classy/ClassyViewController.m | 5 ----- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Classy/Base.lproj/classy.storyboard b/Classy/Base.lproj/classy.storyboard index 57cd220..a647631 100755 --- a/Classy/Base.lproj/classy.storyboard +++ b/Classy/Base.lproj/classy.storyboard @@ -116,6 +116,7 @@ + diff --git a/Classy/Classy-Info.plist b/Classy/Classy-Info.plist index facf285..b489cf7 100755 --- a/Classy/Classy-Info.plist +++ b/Classy/Classy-Info.plist @@ -23,7 +23,7 @@ CFBundleSignature ???? CFBundleVersion - 1.1 + 2 LSApplicationCategoryType LSRequiresIPhoneOS diff --git a/Classy/ClassyViewController.h b/Classy/ClassyViewController.h index f9526a4..7e053fb 100755 --- a/Classy/ClassyViewController.h +++ b/Classy/ClassyViewController.h @@ -14,6 +14,7 @@ IBOutlet UILabel* currentActivityLabel; IBOutlet UILabel* nextActivityLabel; IBOutlet UILabel* nextActivityStartTimeLabel; + IBOutlet UIProgressView* progressView; NSTimer* countdownTimer; } diff --git a/Classy/ClassyViewController.m b/Classy/ClassyViewController.m index c3827e4..f01840d 100755 --- a/Classy/ClassyViewController.m +++ b/Classy/ClassyViewController.m @@ -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