|
@@ -10,6 +10,13 @@
|
|
|
#import "RAUtils.h"
|
|
#import "RAUtils.h"
|
|
|
#import "BundleModelViewController.h"
|
|
#import "BundleModelViewController.h"
|
|
|
#import "const.h"
|
|
#import "const.h"
|
|
|
|
|
+#import "config.h"
|
|
|
|
|
+
|
|
|
|
|
+#if defined(BUILD_HOMER) || defined(BUILD_GATIT)
|
|
|
|
|
+
|
|
|
|
|
+#import "MasterModelViewController.h"
|
|
|
|
|
+
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
@implementation CommonEditorCellModel
|
|
@implementation CommonEditorCellModel
|
|
|
|
|
|
|
@@ -63,21 +70,32 @@
|
|
|
UIViewController* vc=[RAUtils getViewController :sender];
|
|
UIViewController* vc=[RAUtils getViewController :sender];
|
|
|
|
|
|
|
|
|
|
|
|
|
- BundleModelViewController * bundleVC =[ vc.storyboard instantiateViewControllerWithIdentifier:@"BundleModelViewController"];
|
|
|
|
|
-
|
|
|
|
|
- bundleVC.content_data = self.master_items;
|
|
|
|
|
-
|
|
|
|
|
- UINavigationController* navi = [[UINavigationController alloc] initWithRootViewController:bundleVC] ;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+// BundleModelViewController * bundleVC =[ vc.storyboard instantiateViewControllerWithIdentifier:@"BundleModelViewController"];
|
|
|
|
|
+//
|
|
|
|
|
+// bundleVC.content_data = self.master_items;
|
|
|
|
|
+//
|
|
|
|
|
+// UINavigationController* navi = [[UINavigationController alloc] initWithRootViewController:bundleVC] ;
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+//
|
|
|
|
|
+// navi.modalPresentationStyle = UIModalTransitionStyleCrossDissolve;//有三种状态,自己看看是哪种
|
|
|
|
|
+// [vc presentViewController:navi animated:YES completion:^{
|
|
|
|
|
+//
|
|
|
|
|
+// }];
|
|
|
|
|
+//
|
|
|
|
|
|
|
|
|
|
+#if defined(BUILD_HOMER) || defined(BUILD_GATIT)
|
|
|
|
|
|
|
|
|
|
+ MasterModelViewController *masterModelVC = [MasterModelViewController buildMasterModelViewController];
|
|
|
|
|
+ masterModelVC.content_data = self.master_items;
|
|
|
|
|
+ UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:masterModelVC];
|
|
|
|
|
+ [vc presentViewController:nav animated:YES completion:nil];
|
|
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
- navi.modalPresentationStyle = UIModalTransitionStyleCrossDissolve;//有三种状态,自己看看是哪种
|
|
|
|
|
- [vc presentViewController:navi animated:YES completion:^{
|
|
|
|
|
-
|
|
|
|
|
- }];
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|