aboutsummaryrefslogtreecommitdiffstats
path: root/iBean
diff options
context:
space:
mode:
authorEddie Ehlin <eddiex@eddiex.se>2013-01-12 21:07:19 +0100
committerEddie Ehlin <eddiex@eddiex.se>2013-01-12 21:07:19 +0100
commite392de36b36ee670474480af6ec895d917f3f322 (patch)
tree2a4c597f8b51499dcf378a41630062661c247b48 /iBean
parentf1ca62e3237aceda58b60f29b3cceb7d6ec33d37 (diff)
downloadiBean-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.xcuserstatebin33585 -> 33713 bytes
-rw-r--r--iBean/iBean/BeanCollectionBeanListViewController.m6
-rw-r--r--iBean/iBean/iPhoneStoryboard.storyboard2
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
index 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
Binary files 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 @@
<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>