From 68ab69e08728458eff182a0f5c348e93700447ca Mon Sep 17 00:00:00 2001 From: Eddie Ehlin Date: Thu, 7 Mar 2013 19:45:23 +0100 Subject: Added an extra "add" button for creating Thresholds (making use of empty space). --- .../UserInterfaceState.xcuserstate | Bin 53036 -> 52986 bytes iBean/iBean/ThresholdListViewController.m | 2 +- iBean/iBean/iPhoneStoryboard.storyboard | 12 +++++++++--- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'iBean') diff --git a/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate b/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate index 8d9eb34..b3a73a4 100644 Binary files a/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate and b/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/iBean/iBean/ThresholdListViewController.m b/iBean/iBean/ThresholdListViewController.m index 1f96f6a..62f69ab 100644 --- a/iBean/iBean/ThresholdListViewController.m +++ b/iBean/iBean/ThresholdListViewController.m @@ -48,7 +48,7 @@ - (void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { - if ([segue.identifier isEqualToString:@"ThresholdsAddNewThresholdSegue"]) + if ([segue.identifier isEqualToString:@"ThresholdsAddNewThresholdSegue"] || [segue.identifier isEqualToString:@"ThresholdsTopAddNewThresholdSegue"]) { ThresholdViewController* thresholdViewController = segue.destinationViewController; [thresholdViewController initWithConfigurationAndThresholdIndex:self.configuration : -1]; diff --git a/iBean/iBean/iPhoneStoryboard.storyboard b/iBean/iBean/iPhoneStoryboard.storyboard index d633fbf..fb822ce 100644 --- a/iBean/iBean/iPhoneStoryboard.storyboard +++ b/iBean/iBean/iPhoneStoryboard.storyboard @@ -418,7 +418,13 @@ - + + + + + + + @@ -1439,8 +1445,8 @@ - + - + \ No newline at end of file -- cgit v1.2.3