From e392de36b36ee670474480af6ec895d917f3f322 Mon Sep 17 00:00:00 2001 From: Eddie Ehlin Date: Sat, 12 Jan 2013 21:07:19 +0100 Subject: Fix: Forgot to add prepareForSegue for ExtractionViewController in BeanCollectionBeanListViewController --- .../UserInterfaceState.xcuserstate | Bin 33585 -> 33713 bytes iBean/iBean/BeanCollectionBeanListViewController.m | 6 ++++++ iBean/iBean/iPhoneStoryboard.storyboard | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) (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 e41083a..d0691ef 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/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 @@ - + -- cgit v1.2.3