diff options
-rw-r--r-- | iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate | bin | 53036 -> 52986 bytes | |||
-rw-r--r-- | iBean/iBean/ThresholdListViewController.m | 2 | ||||
-rw-r--r-- | iBean/iBean/iPhoneStoryboard.storyboard | 12 |
3 files changed, 10 insertions, 4 deletions
diff --git a/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate b/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex 8d9eb34..b3a73a4 100644 --- a/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate +++ b/iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate 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 @@ <constraint firstItem="hI0-rM-L5l" firstAttribute="leading" secondItem="mrf-lS-W0h" secondAttribute="leading" type="default" id="tfj-11-6yn"/> </constraints> </view> - <navigationItem key="navigationItem" title="Thresholds" id="g7z-WC-gGh"/> + <navigationItem key="navigationItem" title="Thresholds" id="g7z-WC-gGh"> + <barButtonItem key="rightBarButtonItem" systemItem="add" id="O3t-a1-DKM"> + <connections> + <segue destination="0Fo-5M-9Kc" kind="push" identifier="ThresholdsTopAddNewThresholdSegue" id="FKb-Gk-Ub5"/> + </connections> + </barButtonItem> + </navigationItem> <connections> <outlet property="thresholdListBottomToolbar" destination="ixE-eI-jK9" id="ozU-hU-IYT"/> <outlet property="thresholdListEditButton" destination="pfh-Br-yHh" id="pK0-WR-tae"/> @@ -1439,8 +1445,8 @@ <simulatedScreenMetrics key="destination" type="retina4"/> </simulatedMetricsContainer> <inferredMetricsTieBreakers> - <segue reference="8Kh-dv-G2O"/> + <segue reference="FKb-Gk-Ub5"/> <segue reference="CyX-df-8ge"/> - <segue reference="qk2-F5-M1s"/> + <segue reference="8Kh-dv-G2O"/> </inferredMetricsTieBreakers> </document>
\ No newline at end of file |