diff options
author | Eddie Ehlin <eddiex@eddiex.se> | 2013-01-12 21:07:19 +0100 |
---|---|---|
committer | Eddie Ehlin <eddiex@eddiex.se> | 2013-01-12 21:07:19 +0100 |
commit | e392de36b36ee670474480af6ec895d917f3f322 (patch) | |
tree | 2a4c597f8b51499dcf378a41630062661c247b48 /iBean | |
parent | f1ca62e3237aceda58b60f29b3cceb7d6ec33d37 (diff) | |
download | iBean-e392de36b36ee670474480af6ec895d917f3f322.tar.gz iBean-e392de36b36ee670474480af6ec895d917f3f322.zip |
Fix: Forgot to add prepareForSegue for ExtractionViewController in BeanCollectionBeanListViewController
Diffstat (limited to 'iBean')
-rw-r--r-- | iBean/iBean.xcodeproj/project.xcworkspace/xcuserdata/eddiex.xcuserdatad/UserInterfaceState.xcuserstate | bin | 33585 -> 33713 bytes | |||
-rw-r--r-- | iBean/iBean/BeanCollectionBeanListViewController.m | 6 | ||||
-rw-r--r-- | iBean/iBean/iPhoneStoryboard.storyboard | 2 |
3 files changed, 7 insertions, 1 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 e41083a..d0691ef 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/BeanCollectionBeanListViewController.m b/iBean/iBean/BeanCollectionBeanListViewController.m index 5ad05d0..61265ee 100644 --- a/iBean/iBean/BeanCollectionBeanListViewController.m +++ b/iBean/iBean/BeanCollectionBeanListViewController.m @@ -9,6 +9,7 @@ #import "BeanCollectionBeanListViewController.h" #import "EditBeanViewController.h" #import "AddBeanViewController.h" +#import "ExtractionViewController.h" #import "BeanCollection.h" #import "Bean.h" @@ -61,6 +62,11 @@ EditBeanViewController *beanViewController = segue.destinationViewController; [beanViewController initWithModeAndBeanCollectionAndBeanIndex:self.editMode :self.beanCollection :[self.beanListTableView indexPathForSelectedRow].row]; } + else if ([segue.identifier isEqualToString:@"BeanListExtractionSegue"]) + { + ExtractionViewController *extractionviewController = segue.destinationViewController; + [extractionviewController initWithModeAndBeanCollection:self.editMode :self.beanCollection]; + } } /***************************************************** diff --git a/iBean/iBean/iPhoneStoryboard.storyboard b/iBean/iBean/iPhoneStoryboard.storyboard index 94023a4..03f46e5 100644 --- a/iBean/iBean/iPhoneStoryboard.storyboard +++ b/iBean/iBean/iPhoneStoryboard.storyboard @@ -324,7 +324,7 @@ <navigationItem key="navigationItem" title="Beans (2/3)" id="AvU-FE-egp"> <barButtonItem key="rightBarButtonItem" title="Next" id="GqH-Ye-0oU"> <connections> - <segue destination="49F-vz-WhB" kind="push" id="cxZ-CH-pu3"/> + <segue destination="49F-vz-WhB" kind="push" identifier="BeanListExtractionSegue" id="cxZ-CH-pu3"/> </connections> </barButtonItem> </navigationItem> |