|
@@ -44,12 +44,12 @@
|
44
|
44
|
|
45
|
45
|
UIViewController<RNNRootViewProtocol> *result;
|
46
|
46
|
|
47
|
|
- if ( node.isContainer || node.isTopTab) {
|
|
47
|
+ if ( node.isComponent) {
|
48
|
48
|
result = [self createContainer:node];
|
49
|
49
|
}
|
50
|
50
|
|
51
|
|
- else if (node.isContainerStack) {
|
52
|
|
- result = [self createContainerStack:node];
|
|
51
|
+ else if (node.isStack) {
|
|
52
|
+ result = [self createStack:node];
|
53
|
53
|
}
|
54
|
54
|
|
55
|
55
|
else if (node.isTabs) {
|
|
@@ -97,7 +97,7 @@
|
97
|
97
|
return container;
|
98
|
98
|
}
|
99
|
99
|
|
100
|
|
-- (UIViewController<RNNRootViewProtocol> *)createContainerStack:(RNNLayoutNode*)node {
|
|
100
|
+- (UIViewController<RNNRootViewProtocol> *)createStack:(RNNLayoutNode*)node {
|
101
|
101
|
RNNNavigationController* vc = [[RNNNavigationController alloc] init];
|
102
|
102
|
|
103
|
103
|
NSMutableArray* controllers = [NSMutableArray new];
|