Selaa lähdekoodia

Delete code related to old SideMenu implementation (#5254)

V1 had two SideMenu implementations. In v2 we've decided to stick with one and for some reason
code related to the unsupported implementation was left in the project.
Guy Carmeli 5 vuotta sitten
vanhempi
commit
a27d9ef449
No account linked to committer's email address

+ 1
- 1
lib/ios/Constants.m Näytä tiedosto

@@ -17,7 +17,7 @@
17 17
 
18 18
 + (CGFloat)bottomTabsHeight {
19 19
 	@try {
20
-		return CGRectGetHeight(((UITabBarController *)((UIWindow *)(UIApplication.sharedApplication.windows[0])).rootViewController).tabBar.frame);
20
+		return CGRectGetHeight(((UITabBarController *) UIApplication.sharedApplication.windows[0].rootViewController).tabBar.frame);
21 21
 	} @catch (NSException *exception) {
22 22
 		return 0;
23 23
 	}

+ 0
- 10
lib/ios/RNNSideMenu/RCCDrawerController.h Näytä tiedosto

@@ -1,10 +0,0 @@
1
-#import <UIKit/UIKit.h>
2
-#import <React/RCTBridge.h>
3
-#import "MMDrawerController.h"
4
-#import "RCCDrawerProtocol.h"
5
-
6
-
7
-@interface RCCDrawerController : MMDrawerController <RCCDrawerDelegate>
8
-
9
-
10
-@end

+ 0
- 154
lib/ios/RNNSideMenu/RCCDrawerController.m Näytä tiedosto

@@ -1,154 +0,0 @@
1
-//#import "RCCDrawerController.h"
2
-//#import "RCCViewController.h"
3
-//#import "MMExampleDrawerVisualStateManager.h"
4
-//#import "RCCDrawerHelper.h"
5
-//#import "RCTConvert.h"
6
-//#import "RCCManagerModule.h"
7
-//
8
-//#define RCCDRAWERCONTROLLER_ANIMATION_DURATION 0.33f
9
-//
10
-//
11
-//@implementation RCCDrawerController
12
-//
13
-//@synthesize drawerStyle = _drawerStyle;
14
-//
15
-//
16
-//
17
-//- (instancetype)initWithProps:(NSDictionary *)props children:(NSArray *)children globalProps:(NSDictionary*)globalProps bridge:(RCTBridge *)bridge
18
-//{
19
-//    
20
-//    self.drawerStyle = props[@"style"];
21
-//    
22
-//    // center
23
-//    if ([children count] < 1) return nil;
24
-//    UIViewController *centerViewController = [RCCViewController controllerWithLayout:children[0] globalProps:globalProps bridge:bridge];
25
-//    
26
-//    // left
27
-//    UIViewController *leftViewController = nil;
28
-//    NSString *componentLeft = props[@"componentLeft"];
29
-//    NSDictionary *passPropsLeft = props[@"passPropsLeft"];
30
-//    if (componentLeft) leftViewController = [[RCCViewController alloc] initWithComponent:componentLeft passProps:passPropsLeft navigatorStyle:nil globalProps:globalProps bridge:bridge];
31
-//    
32
-//    // right
33
-//    UIViewController *rightViewController = nil;
34
-//    NSString *componentRight = props[@"componentRight"];
35
-//    NSDictionary *passPropsRight = props[@"passPropsRight"];
36
-//    if (componentRight) rightViewController = [[RCCViewController alloc] initWithComponent:componentRight passProps:passPropsRight navigatorStyle:nil globalProps:globalProps bridge:bridge];
37
-//    
38
-//    self = [super initWithCenterViewController:centerViewController
39
-//                      leftDrawerViewController:leftViewController
40
-//                     rightDrawerViewController:rightViewController];
41
-//    
42
-//    [self setAnimationTypeWithName:props[@"animationType"]];
43
-//    
44
-//    // default is all MMOpenDrawerGestureModeAll and MMCloseDrawerGestureModeAll
45
-//    self.openDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
46
-//    self.closeDrawerGestureModeMask = MMCloseDrawerGestureModeAll;
47
-//    
48
-//    NSNumber *disableOpenGesture = props[@"disableOpenGesture"];
49
-//    if ([disableOpenGesture boolValue]) {
50
-//        self.openDrawerGestureModeMask = MMOpenDrawerGestureModeNone;
51
-//    }
52
-//    
53
-//    [self setStyle];
54
-//    
55
-//    [self setDrawerVisualStateBlock:^(MMDrawerController *drawerController, MMDrawerSide drawerSide, CGFloat percentVisible) {
56
-//        MMDrawerControllerDrawerVisualStateBlock block;
57
-//        block = [[MMExampleDrawerVisualStateManager sharedManager] drawerVisualStateBlockForDrawerSide:drawerSide];
58
-//        if (block) {
59
-//            block(drawerController, drawerSide, percentVisible);
60
-//        }
61
-//    }];
62
-//    
63
-//    [self setGestureStartBlock:^(MMDrawerController *drawerController, UIGestureRecognizer *gesture) {
64
-//        [RCCManagerModule cancelAllRCCViewControllerReactTouches];
65
-//     }];
66
-//                                               
67
-//    self.view.backgroundColor = [UIColor clearColor];
68
-//    
69
-//    if (!self) return nil;
70
-//    return self;
71
-//}
72
-//
73
-//
74
-//-(void)setStyle {
75
-//    
76
-//    if (self.drawerStyle[@"drawerShadow"]) {
77
-//        self.showsShadow = ([self.drawerStyle[@"drawerShadow"] boolValue]) ? YES : NO;
78
-//    }
79
-//    
80
-//    NSNumber *leftDrawerWidth = self.drawerStyle[@"leftDrawerWidth"];
81
-//    if (leftDrawerWidth) {
82
-//        self.maximumLeftDrawerWidth = self.view.bounds.size.width * MIN(1, (leftDrawerWidth.floatValue/100.0));
83
-//    }
84
-//    
85
-//    NSNumber *rightDrawerWidth = self.drawerStyle[@"rightDrawerWidth"];
86
-//    if (rightDrawerWidth) {
87
-//        self.maximumRightDrawerWidth = self.view.bounds.size.width * MIN(1, (rightDrawerWidth.floatValue/100.0));
88
-//    }
89
-//    
90
-//    NSString *contentOverlayColor = self.drawerStyle[@"contentOverlayColor"];
91
-//    if (contentOverlayColor)
92
-//    {
93
-//        UIColor *color = contentOverlayColor != (id)[NSNull null] ? [RCTConvert UIColor:contentOverlayColor] : nil;
94
-//        [self setCenterOverlayColor:color];
95
-//    }
96
-//}
97
-//
98
-//
99
-//- (void)performAction:(NSString*)performAction actionParams:(NSDictionary*)actionParams bridge:(RCTBridge *)bridge
100
-//{
101
-//    MMDrawerSide side = MMDrawerSideLeft;
102
-//    if ([actionParams[@"side"] isEqualToString:@"right"]) side = MMDrawerSideRight;
103
-//    BOOL animated = actionParams[@"animated"] ? [actionParams[@"animated"] boolValue] : YES;
104
-//    
105
-//    // open
106
-//    if ([performAction isEqualToString:@"open"])
107
-//    {
108
-//        [self openDrawerSide:side animated:animated completion:nil];
109
-//        return;
110
-//    }
111
-//    
112
-//    // close
113
-//    if ([performAction isEqualToString:@"close"])
114
-//    {
115
-//        if (self.openSide == side) {
116
-//            [self closeDrawerAnimated:animated completion:nil];
117
-//        }
118
-//        
119
-//        return;
120
-//    }
121
-//    
122
-//    // toggle
123
-//    if ([performAction isEqualToString:@"toggle"])
124
-//    {
125
-//        [super toggleDrawerSide:side animated:animated completion:nil];
126
-//        return;
127
-//    }
128
-//    
129
-//    // setStyle
130
-//    if ([performAction isEqualToString:@"setStyle"])
131
-//    {
132
-//        if (actionParams[@"animationType"]) {
133
-//            NSString *animationTypeString = actionParams[@"animationType"];
134
-//            [self setAnimationTypeWithName:animationTypeString];
135
-//        }
136
-//        return;
137
-//    }
138
-//    
139
-//}
140
-//
141
-//-(void)setAnimationTypeWithName:(NSString*)animationTypeName {
142
-//    MMDrawerAnimationType animationType = MMDrawerAnimationTypeNone;
143
-//    
144
-//    if ([animationTypeName isEqualToString:@"door"]) animationType = MMDrawerAnimationTypeSwingingDoor;
145
-//    else if ([animationTypeName isEqualToString:@"parallax"]) animationType = MMDrawerAnimationTypeParallax;
146
-//    else if ([animationTypeName isEqualToString:@"slide"]) animationType = MMDrawerAnimationTypeSlide;
147
-//    else if ([animationTypeName isEqualToString:@"slide-and-scale"]) animationType = MMDrawerAnimationTypeSlideAndScale;
148
-//    
149
-//    [MMExampleDrawerVisualStateManager sharedManager].leftDrawerAnimationType = animationType;
150
-//    [MMExampleDrawerVisualStateManager sharedManager].rightDrawerAnimationType = animationType;
151
-//}
152
-//
153
-//
154
-//@end

+ 0
- 35
lib/ios/RNNSideMenu/RCCDrawerHelper.h Näytä tiedosto

@@ -1,35 +0,0 @@
1
-//
2
-//  RCCDrawerHelper.h
3
-//  ReactNativeControllers
4
-//
5
-//  Created by Ran Greenberg on 07/04/2016.
6
-//  Copyright © 2016 artal. All rights reserved.
7
-//
8
-
9
-#import <Foundation/Foundation.h>
10
-#import <UIKit/UIKit.h>
11
-
12
-#define DRAWER_DEFAULT_WIDTH_PERCENTAGE 80
13
-
14
-typedef NS_ENUM(NSInteger,RCCDrawerSide){
15
-    RCCDrawerSideLeft,
16
-    RCCDrawerSideRight
17
-};
18
-
19
-
20
-@interface RCCDrawerHelper : NSObject
21
-
22
-+(UIButton*)createOverlayButton:(id)target;
23
-
24
-+(void)addOverlayButtonToScreen:(UIButton*)buttonToAdd
25
-                    contextView:(UIView*)view
26
-                           side:(RCCDrawerSide)side
27
-                  sideMenuWidth:(CGFloat)sideMenuWidth
28
-              animationDuration:(CGFloat)duration;
29
-
30
-+(void)overlayButtonPressed:(UIButton*)button animationDuration:(CGFloat)duration;
31
-+(UIImage *)imageWithImage:(UIImage *)image scaledToSize:(CGSize)newSize;
32
-
33
-
34
-
35
-@end

+ 0
- 96
lib/ios/RNNSideMenu/RCCDrawerHelper.m Näytä tiedosto

@@ -1,96 +0,0 @@
1
-////
2
-////  RCCDrawerHelper.m
3
-////  ReactNativeControllers
4
-////
5
-////  Created by Ran Greenberg on 07/04/2016.
6
-////  Copyright © 2016 artal. All rights reserved.
7
-////
8
-//
9
-//#import "RCCDrawerHelper.h"
10
-//
11
-//@implementation RCCDrawerHelper
12
-//
13
-//static CGFloat _sideMenuWidth;
14
-//
15
-//+(UIButton*)createOverlayButton:(id)target {
16
-//    UIButton *overlayButton = [[UIButton alloc] init];
17
-//    overlayButton.backgroundColor = [UIColor clearColor];
18
-//    [overlayButton addTarget:target action:@selector(overlayButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
19
-//    
20
-//    return overlayButton;
21
-//}
22
-//
23
-//
24
-//+(void)addOverlayButtonToScreen:(UIButton*)buttonToAdd
25
-//                    contextView:(UIView*)view
26
-//                           side:(RCCDrawerSide)side
27
-//                  sideMenuWidth:(CGFloat)sideMenuWidth
28
-//              animationDuration:(CGFloat)duration {
29
-//    
30
-//    _sideMenuWidth = sideMenuWidth;
31
-//    
32
-//    CGRect buttonFrame = view.bounds;
33
-//    
34
-//    buttonFrame.origin.x = [RCCDrawerHelper overlayButtonX:sideMenuWidth side:side];
35
-//    
36
-//    switch (side) {
37
-//        case RCCDrawerSideLeft:
38
-//        {
39
-//            buttonFrame.origin.x = sideMenuWidth;
40
-//        }
41
-//            
42
-//            break;
43
-//        case RCCDrawerSideRight:
44
-//        {
45
-//            buttonFrame.origin.x = 0;
46
-//        }
47
-//            
48
-//            break;
49
-//            
50
-//        default:
51
-//            break;
52
-//    }
53
-//    
54
-//    buttonFrame.size.width = buttonFrame.size.width - sideMenuWidth;
55
-//    buttonToAdd.frame = buttonFrame;
56
-//    [view addSubview:buttonToAdd];
57
-//}
58
-//
59
-//+(void)overlayButtonPressed:(UIButton*)button animationDuration:(CGFloat)duration {
60
-//    [button removeFromSuperview];
61
-//}
62
-//
63
-//
64
-//+(CGFloat)overlayButtonX:(CGFloat)sideMenuWidth side:(RCCDrawerSide)side {
65
-//    switch (side) {
66
-//        case RCCDrawerSideLeft:
67
-//        {
68
-//            return sideMenuWidth;
69
-//        }
70
-//            
71
-//            break;
72
-//        case RCCDrawerSideRight:
73
-//        {
74
-//            return 0;
75
-//        }
76
-//            
77
-//            break;
78
-//            
79
-//        default:
80
-//            break;
81
-//    }
82
-//}
83
-//
84
-//
85
-//+ (UIImage *)imageWithImage:(UIImage *)image scaledToSize:(CGSize)newSize {
86
-//    //UIGraphicsBeginImageContext(newSize);
87
-//    // In next line, pass 0.0 to use the current device's pixel scaling factor (and thus account for Retina resolution).
88
-//    // Pass 1.0 to force exact pixel size.
89
-//    UIGraphicsBeginImageContextWithOptions(newSize, NO, 0.0);
90
-//    [image drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];
91
-//    UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
92
-//    UIGraphicsEndImageContext();
93
-//    return newImage;
94
-//}
95
-//
96
-//@end

+ 0
- 24
lib/ios/RNNSideMenu/RCCDrawerProtocol.h Näytä tiedosto

@@ -1,24 +0,0 @@
1
-//
2
-//  RCCDrawerProtocol.h
3
-//  ReactNativeControllers
4
-//
5
-//  Created by Ran Greenberg on 23/03/2016.
6
-//  Copyright © 2016 artal. All rights reserved.
7
-//
8
-
9
-
10
-
11
-@class RCTBridge;
12
-
13
-
14
-@protocol RCCDrawerDelegate <NSObject>
15
-
16
-@property (nonatomic, strong) UIButton *overlayButton;
17
-@property (nonatomic, strong) NSDictionary *drawerStyle;
18
-
19
-@required
20
-- (instancetype)initWithProps:(NSDictionary *)props children:(NSArray *)children globalProps:(NSDictionary*)globalProps bridge:(RCTBridge *)bridge;
21
-- (void)performAction:(NSString*)performAction actionParams:(NSDictionary*)actionParams bridge:(RCTBridge *)bridge;
22
-
23
-@end
24
-

+ 0
- 22
lib/ios/RNNSideMenu/RCCTheSideBarManagerViewController.h Näytä tiedosto

@@ -1,22 +0,0 @@
1
-//
2
-//  DarwerTheSideBarManagerViewController.h
3
-//  ReactNativeControllers
4
-//
5
-//  Created by Ran Greenberg on 22/03/2016.
6
-//  Copyright © 2016 artal. All rights reserved.
7
-//
8
-
9
-#import "TheSidebarController.h"
10
-#import "RCCDrawerProtocol.h"
11
-
12
-typedef NS_ENUM(NSInteger,TheSideBarSide){
13
-    TheSideBarSideNone = 0,
14
-    TheSideBarSideLeft,
15
-    TheSideBarSideRight,
16
-};
17
-
18
-
19
-@interface RCCTheSideBarManagerViewController : TheSidebarController <RCCDrawerDelegate>
20
-
21
-
22
-@end

+ 0
- 258
lib/ios/RNNSideMenu/RCCTheSideBarManagerViewController.m Näytä tiedosto

@@ -1,258 +0,0 @@
1
-////
2
-////  DarwerTheSideBarManagerViewController.m
3
-////  ReactNativeControllers
4
-////
5
-////  Created by Ran Greenberg on 22/03/2016.
6
-////  Copyright © 2016 artal. All rights reserved.
7
-////
8
-//
9
-//#import "RCCTheSideBarManagerViewController.h"
10
-//#import "RCCViewController.h"
11
-//#import "RCCDrawerHelper.h"
12
-//#import "RCTConvert.h"
13
-//
14
-//
15
-//@interface RCCTheSideBarManagerViewController () <TheSidebarControllerDelegate>
16
-//
17
-//@property (nonatomic) BOOL isOpen;
18
-//
19
-//@property (nonatomic) SidebarTransitionStyle animationStyle;
20
-//
21
-//@property (nonatomic, strong) RCCViewController *leftViewController;
22
-//@property (nonatomic, strong) RCCViewController *rightViewController;
23
-//@property (nonatomic, strong) RCCViewController *centerViewController;
24
-//
25
-//
26
-//@property (nonatomic, strong) UIColor *originalWindowBackgroundColor;
27
-//
28
-//@end
29
-//
30
-//@implementation RCCTheSideBarManagerViewController
31
-//
32
-//@synthesize overlayButton = _overlayButton, drawerStyle = _drawerStyle;
33
-//
34
-//
35
-//-(UIButton*)overlayButton {
36
-//    if (!_overlayButton) {
37
-//        _overlayButton = [RCCDrawerHelper createOverlayButton:self];
38
-//    }
39
-//    return _overlayButton;
40
-//}
41
-//
42
-//- (instancetype)initWithProps:(NSDictionary *)props children:(NSArray *)children globalProps:(NSDictionary*)globalProps bridge:(RCTBridge *)bridge {
43
-//    
44
-//    if ([children count] < 1) return nil;
45
-//    
46
-//    UIViewController *centerVC = [RCCViewController controllerWithLayout:children[0] globalProps:props bridge:bridge];
47
-//    UIViewController *leftVC = nil;
48
-//    UIViewController *rightVC = nil;
49
-//    
50
-//    // left
51
-//    NSString *componentLeft = props[@"componentLeft"];
52
-//    if (componentLeft)  {
53
-//        leftVC = [[RCCViewController alloc] initWithComponent:componentLeft passProps:props[@"passPropsLeft"] navigatorStyle:nil globalProps:props bridge:bridge];
54
-//    }
55
-//    
56
-//    // right
57
-//    NSString *componentRight = props[@"componentRight"];
58
-//    if (componentRight) {
59
-//        rightVC = [[RCCViewController alloc] initWithComponent:componentRight passProps:props[@"passPropsRight"] navigatorStyle:nil globalProps:props bridge:bridge];
60
-//    }
61
-//    
62
-//    self = [super initWithContentViewController:centerVC
63
-//                      leftSidebarViewController:leftVC
64
-//                     rightSidebarViewController:rightVC];
65
-//    if (!self) return nil;
66
-//    
67
-//    self.leftViewController = leftVC;
68
-//    self.rightViewController = rightVC;
69
-//    self.centerViewController = centerVC;
70
-//    self.drawerStyle = props[@"style"];
71
-//    self.delegate = self;
72
-//    self.isOpen = NO;
73
-//    [self setAnimationType:props[@"animationType"]];
74
-//    [self setStyle];
75
-//    
76
-//    return self;
77
-//}
78
-//
79
-//
80
-//-(void)viewDidDisappear:(BOOL)animated {
81
-//    [super viewDidDisappear:animated];
82
-//    
83
-//    UIWindow *appDelegateWindow = [[[UIApplication sharedApplication] delegate] window];
84
-//    [appDelegateWindow setBackgroundColor:self.originalWindowBackgroundColor];
85
-//    
86
-//}
87
-//
88
-//
89
-//-(void)setStyle:(TheSideBarSide)side {
90
-//    
91
-//    if(side == TheSideBarSideLeft && !self.leftViewController) return;
92
-//    if(side == TheSideBarSideRight && !self.rightViewController) return;
93
-//    
94
-//    CGRect sideBarFrame = self.view.frame;
95
-//    
96
-//    switch (side) {
97
-//        case TheSideBarSideLeft:
98
-//        {
99
-//            NSNumber *leftDrawerWidth = self.drawerStyle[@"leftDrawerWidth"];
100
-//            if (!leftDrawerWidth) leftDrawerWidth = [NSNumber numberWithInteger:DRAWER_DEFAULT_WIDTH_PERCENTAGE];
101
-//            
102
-//            self.visibleWidth = self.view.bounds.size.width * MIN(1, (leftDrawerWidth.floatValue/100.0));
103
-//            sideBarFrame.size.width = self.view.bounds.size.width * MIN(1, (leftDrawerWidth.floatValue/100.0));
104
-//            self.leftViewController.view.frame = sideBarFrame;
105
-//        }
106
-//            break;
107
-//            
108
-//        case TheSideBarSideRight:
109
-//        {
110
-//            NSNumber *rightDrawerWidth = self.drawerStyle[@"rightDrawerWidth"];
111
-//            if (!rightDrawerWidth) rightDrawerWidth = [NSNumber numberWithInteger:DRAWER_DEFAULT_WIDTH_PERCENTAGE];
112
-//            
113
-//            self.visibleWidth = self.view.bounds.size.width * MIN(1, (rightDrawerWidth.floatValue/100.0));
114
-//            sideBarFrame.size.width = self.view.bounds.size.width * MIN(1, (rightDrawerWidth.floatValue/100.0));
115
-//            sideBarFrame.origin.x = self.view.frame.size.width - self.visibleWidth;
116
-//            self.rightViewController.view.frame = sideBarFrame;
117
-//        }
118
-//            break;
119
-//            
120
-//        default:
121
-//            break;
122
-//    }
123
-//}
124
-//
125
-//
126
-//-(void)setStyle {
127
-//    
128
-//    [self setStyle:TheSideBarSideLeft];
129
-//    [self setStyle:TheSideBarSideRight];
130
-//    
131
-//    NSString *contentOverlayColor = self.drawerStyle[@"contentOverlayColor"];
132
-//    if (contentOverlayColor)
133
-//    {
134
-//        UIColor *color = contentOverlayColor != (id)[NSNull null] ? [RCTConvert UIColor:contentOverlayColor] : nil;
135
-//        self.overlayContentColor = color;
136
-//    }
137
-//    
138
-//    UIImage *backgroundImage = nil;
139
-//    id icon = self.drawerStyle[@"backgroundImage"];
140
-//    UIWindow *appDelegateWindow = [[[UIApplication sharedApplication] delegate] window];
141
-//    self.originalWindowBackgroundColor = appDelegateWindow.backgroundColor;
142
-//    
143
-//    if (icon)
144
-//    {
145
-//        backgroundImage = [RCTConvert UIImage:icon];
146
-//        if (backgroundImage) {
147
-//            backgroundImage = [RCCDrawerHelper imageWithImage:backgroundImage scaledToSize:appDelegateWindow.bounds.size];
148
-//            [appDelegateWindow setBackgroundColor:[UIColor colorWithPatternImage:backgroundImage]];
149
-//        }
150
-//    }
151
-//}
152
-//
153
-//
154
-//-(void)setAnimationType:(NSString*)type {
155
-//    if ([type isEqualToString:@"airbnb"]) self.animationStyle = SidebarTransitionStyleAirbnb;
156
-//    else if ([type isEqualToString:@"facebook"]) self.animationStyle = SidebarTransitionStyleFacebook;
157
-//    else if ([type isEqualToString:@"luvocracy"]) self.animationStyle = SidebarTransitionStyleLuvocracy;
158
-//    else if ([type isEqualToString:@"wunder-list"]) self.animationStyle = SidebarTransitionStyleWunderlist;
159
-//    
160
-//    //    currently unsuported animation types
161
-//    //    else if ([type isEqualToString:@"feedly"]) self.animationStyle = SidebarTransitionStyleFeedly;
162
-//    //    else if ([type isEqualToString:@"flipboard"]) self.animationStyle = SidebarTransitionStyleFlipboard;
163
-//    
164
-//    
165
-//    // default
166
-//    else self.animationStyle = SidebarTransitionStyleAirbnb;
167
-//}
168
-//
169
-//- (void)performAction:(NSString*)performAction actionParams:(NSDictionary*)actionParams bridge:(RCTBridge *)bridge {
170
-//    
171
-//    TheSideBarSide side = TheSideBarSideLeft;
172
-//    
173
-//    if ([actionParams[@"side"] isEqualToString:@"right"]) side = TheSideBarSideRight;
174
-//    
175
-//    // open
176
-//    if ([performAction isEqualToString:@"open"])
177
-//    {
178
-//        [self openSideMenu:side];
179
-//        return;
180
-//    }
181
-//    
182
-//    // close
183
-//    if ([performAction isEqualToString:@"close"])
184
-//    {
185
-//        [self overlayButtonPressed:self.overlayButton];
186
-//        return;
187
-//    }
188
-//    
189
-//    // toggle
190
-//    if ([performAction isEqualToString:@"toggle"])
191
-//    {
192
-//        [self setStyle:side];
193
-//        if (self.isOpen) {
194
-//            [self overlayButtonPressed:self.overlayButton];
195
-//        }
196
-//        else {
197
-//            [self openSideMenu:side];
198
-//        }
199
-//        self.isOpen = !self.isOpen;
200
-//        return;
201
-//    }
202
-//    
203
-//    // setStyle
204
-//    if ([performAction isEqualToString:@"setStyle"])
205
-//    {
206
-//        if (actionParams[@"animationType"]) {
207
-//            NSString *animationTypeString = actionParams[@"animationType"];
208
-//            
209
-//            CGRect leftSideBarFrame = self.leftViewController.view.frame;
210
-//            leftSideBarFrame.origin.x = 0;
211
-//            self.leftViewController.view.frame = leftSideBarFrame;
212
-//            
213
-//            CGRect rightSideBarFrame = self.rightViewController.view.frame;
214
-//            rightSideBarFrame.origin.x = self.view.frame.size.width - self.visibleWidth;
215
-//            self.rightViewController.view.frame = rightSideBarFrame;
216
-//            
217
-//            [self setAnimationType:animationTypeString];
218
-//        }
219
-//        return;
220
-//    }
221
-//}
222
-//
223
-//
224
-//-(void)openSideMenu:(TheSideBarSide)side{
225
-//    
226
-//    RCCDrawerSide drawerSide;
227
-//    
228
-//    switch (side) {
229
-//        case TheSideBarSideLeft:
230
-//        {
231
-//            [self presentLeftSidebarViewControllerWithStyle:self.animationStyle];
232
-//            drawerSide = RCCDrawerSideLeft;
233
-//        }
234
-//            
235
-//            break;
236
-//        case TheSideBarSideRight:
237
-//        {
238
-//            [self presentRightSidebarViewControllerWithStyle:self.animationStyle];
239
-//            drawerSide = RCCDrawerSideRight;
240
-//        }
241
-//            
242
-//            break;
243
-//            
244
-//        default:
245
-//            break;
246
-//    }
247
-//    
248
-//    [RCCDrawerHelper addOverlayButtonToScreen:self.overlayButton contextView:self.view side:drawerSide sideMenuWidth:self.visibleWidth animationDuration:self.animationDuration];
249
-//}
250
-//
251
-//-(void)overlayButtonPressed:(UIButton*)button {
252
-//    [self dismissSidebarViewController];
253
-//    [RCCDrawerHelper overlayButtonPressed:button animationDuration:self.animationDuration];
254
-//    self.isOpen = NO;
255
-//}
256
-//
257
-//
258
-//@end

+ 0
- 108
lib/ios/ReactNativeNavigation.xcodeproj/project.pbxproj Näytä tiedosto

@@ -26,29 +26,6 @@
26 26
 		263905B61E4C6F440023D7D3 /* MMExampleDrawerVisualStateManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905921E4C6F440023D7D3 /* MMExampleDrawerVisualStateManager.m */; };
27 27
 		263905B71E4C6F440023D7D3 /* UIViewController+MMDrawerController.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905931E4C6F440023D7D3 /* UIViewController+MMDrawerController.h */; };
28 28
 		263905B81E4C6F440023D7D3 /* UIViewController+MMDrawerController.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905941E4C6F440023D7D3 /* UIViewController+MMDrawerController.m */; };
29
-		263905B91E4C6F440023D7D3 /* RCCDrawerController.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905951E4C6F440023D7D3 /* RCCDrawerController.h */; };
30
-		263905BA1E4C6F440023D7D3 /* RCCDrawerController.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905961E4C6F440023D7D3 /* RCCDrawerController.m */; };
31
-		263905BB1E4C6F440023D7D3 /* RCCDrawerHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905971E4C6F440023D7D3 /* RCCDrawerHelper.h */; };
32
-		263905BC1E4C6F440023D7D3 /* RCCDrawerHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905981E4C6F440023D7D3 /* RCCDrawerHelper.m */; };
33
-		263905BD1E4C6F440023D7D3 /* RCCDrawerProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905991E4C6F440023D7D3 /* RCCDrawerProtocol.h */; };
34
-		263905BE1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 2639059A1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.h */; };
35
-		263905BF1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2639059B1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.m */; };
36
-		263905C01E4C6F440023D7D3 /* SidebarAirbnbAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 2639059E1E4C6F440023D7D3 /* SidebarAirbnbAnimation.h */; };
37
-		263905C11E4C6F440023D7D3 /* SidebarAirbnbAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 2639059F1E4C6F440023D7D3 /* SidebarAirbnbAnimation.m */; };
38
-		263905C21E4C6F440023D7D3 /* SidebarAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905A01E4C6F440023D7D3 /* SidebarAnimation.h */; };
39
-		263905C31E4C6F440023D7D3 /* SidebarAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905A11E4C6F440023D7D3 /* SidebarAnimation.m */; };
40
-		263905C41E4C6F440023D7D3 /* SidebarFacebookAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905A21E4C6F440023D7D3 /* SidebarFacebookAnimation.h */; };
41
-		263905C51E4C6F440023D7D3 /* SidebarFacebookAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905A31E4C6F440023D7D3 /* SidebarFacebookAnimation.m */; };
42
-		263905C61E4C6F440023D7D3 /* SidebarFeedlyAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905A41E4C6F440023D7D3 /* SidebarFeedlyAnimation.h */; };
43
-		263905C71E4C6F440023D7D3 /* SidebarFeedlyAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905A51E4C6F440023D7D3 /* SidebarFeedlyAnimation.m */; };
44
-		263905C81E4C6F440023D7D3 /* SidebarFlipboardAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905A61E4C6F440023D7D3 /* SidebarFlipboardAnimation.h */; };
45
-		263905C91E4C6F440023D7D3 /* SidebarFlipboardAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905A71E4C6F440023D7D3 /* SidebarFlipboardAnimation.m */; };
46
-		263905CA1E4C6F440023D7D3 /* SidebarLuvocracyAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905A81E4C6F440023D7D3 /* SidebarLuvocracyAnimation.h */; };
47
-		263905CB1E4C6F440023D7D3 /* SidebarLuvocracyAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905A91E4C6F440023D7D3 /* SidebarLuvocracyAnimation.m */; };
48
-		263905CC1E4C6F440023D7D3 /* SidebarWunderlistAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905AA1E4C6F440023D7D3 /* SidebarWunderlistAnimation.h */; };
49
-		263905CD1E4C6F440023D7D3 /* SidebarWunderlistAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905AB1E4C6F440023D7D3 /* SidebarWunderlistAnimation.m */; };
50
-		263905CE1E4C6F440023D7D3 /* TheSidebarController.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905AC1E4C6F440023D7D3 /* TheSidebarController.h */; };
51
-		263905CF1E4C6F440023D7D3 /* TheSidebarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905AD1E4C6F440023D7D3 /* TheSidebarController.m */; };
52 29
 		263905D61E4C94970023D7D3 /* RNNSideMenuController.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905D41E4C94970023D7D3 /* RNNSideMenuController.h */; };
53 30
 		263905D71E4C94970023D7D3 /* RNNSideMenuController.m in Sources */ = {isa = PBXBuildFile; fileRef = 263905D51E4C94970023D7D3 /* RNNSideMenuController.m */; };
54 31
 		263905E61E4CAC950023D7D3 /* RNNSideMenuChildVC.h in Headers */ = {isa = PBXBuildFile; fileRef = 263905E41E4CAC950023D7D3 /* RNNSideMenuChildVC.h */; };
@@ -367,29 +344,6 @@
367 344
 		263905921E4C6F440023D7D3 /* MMExampleDrawerVisualStateManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMExampleDrawerVisualStateManager.m; sourceTree = "<group>"; };
368 345
 		263905931E4C6F440023D7D3 /* UIViewController+MMDrawerController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIViewController+MMDrawerController.h"; sourceTree = "<group>"; };
369 346
 		263905941E4C6F440023D7D3 /* UIViewController+MMDrawerController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+MMDrawerController.m"; sourceTree = "<group>"; };
370
-		263905951E4C6F440023D7D3 /* RCCDrawerController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCCDrawerController.h; sourceTree = "<group>"; };
371
-		263905961E4C6F440023D7D3 /* RCCDrawerController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCCDrawerController.m; sourceTree = "<group>"; };
372
-		263905971E4C6F440023D7D3 /* RCCDrawerHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCCDrawerHelper.h; sourceTree = "<group>"; };
373
-		263905981E4C6F440023D7D3 /* RCCDrawerHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCCDrawerHelper.m; sourceTree = "<group>"; };
374
-		263905991E4C6F440023D7D3 /* RCCDrawerProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCCDrawerProtocol.h; sourceTree = "<group>"; };
375
-		2639059A1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCCTheSideBarManagerViewController.h; sourceTree = "<group>"; };
376
-		2639059B1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCCTheSideBarManagerViewController.m; sourceTree = "<group>"; };
377
-		2639059E1E4C6F440023D7D3 /* SidebarAirbnbAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarAirbnbAnimation.h; sourceTree = "<group>"; };
378
-		2639059F1E4C6F440023D7D3 /* SidebarAirbnbAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarAirbnbAnimation.m; sourceTree = "<group>"; };
379
-		263905A01E4C6F440023D7D3 /* SidebarAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarAnimation.h; sourceTree = "<group>"; };
380
-		263905A11E4C6F440023D7D3 /* SidebarAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarAnimation.m; sourceTree = "<group>"; };
381
-		263905A21E4C6F440023D7D3 /* SidebarFacebookAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarFacebookAnimation.h; sourceTree = "<group>"; };
382
-		263905A31E4C6F440023D7D3 /* SidebarFacebookAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarFacebookAnimation.m; sourceTree = "<group>"; };
383
-		263905A41E4C6F440023D7D3 /* SidebarFeedlyAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarFeedlyAnimation.h; sourceTree = "<group>"; };
384
-		263905A51E4C6F440023D7D3 /* SidebarFeedlyAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarFeedlyAnimation.m; sourceTree = "<group>"; };
385
-		263905A61E4C6F440023D7D3 /* SidebarFlipboardAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarFlipboardAnimation.h; sourceTree = "<group>"; };
386
-		263905A71E4C6F440023D7D3 /* SidebarFlipboardAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarFlipboardAnimation.m; sourceTree = "<group>"; };
387
-		263905A81E4C6F440023D7D3 /* SidebarLuvocracyAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarLuvocracyAnimation.h; sourceTree = "<group>"; };
388
-		263905A91E4C6F440023D7D3 /* SidebarLuvocracyAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarLuvocracyAnimation.m; sourceTree = "<group>"; };
389
-		263905AA1E4C6F440023D7D3 /* SidebarWunderlistAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SidebarWunderlistAnimation.h; sourceTree = "<group>"; };
390
-		263905AB1E4C6F440023D7D3 /* SidebarWunderlistAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SidebarWunderlistAnimation.m; sourceTree = "<group>"; };
391
-		263905AC1E4C6F440023D7D3 /* TheSidebarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TheSidebarController.h; sourceTree = "<group>"; };
392
-		263905AD1E4C6F440023D7D3 /* TheSidebarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TheSidebarController.m; sourceTree = "<group>"; };
393 347
 		263905D41E4C94970023D7D3 /* RNNSideMenuController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNSideMenuController.h; sourceTree = "<group>"; };
394 348
 		263905D51E4C94970023D7D3 /* RNNSideMenuController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNSideMenuController.m; sourceTree = "<group>"; };
395 349
 		263905E41E4CAC950023D7D3 /* RNNSideMenuChildVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNSideMenuChildVC.h; sourceTree = "<group>"; };
@@ -749,14 +703,6 @@
749 703
 			isa = PBXGroup;
750 704
 			children = (
751 705
 				263905891E4C6F440023D7D3 /* MMDrawerController */,
752
-				263905951E4C6F440023D7D3 /* RCCDrawerController.h */,
753
-				263905961E4C6F440023D7D3 /* RCCDrawerController.m */,
754
-				263905971E4C6F440023D7D3 /* RCCDrawerHelper.h */,
755
-				263905981E4C6F440023D7D3 /* RCCDrawerHelper.m */,
756
-				263905991E4C6F440023D7D3 /* RCCDrawerProtocol.h */,
757
-				2639059A1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.h */,
758
-				2639059B1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.m */,
759
-				2639059C1E4C6F440023D7D3 /* TheSidebarController */,
760 706
 			);
761 707
 			path = RNNSideMenu;
762 708
 			sourceTree = "<group>";
@@ -779,37 +725,6 @@
779 725
 			path = MMDrawerController;
780 726
 			sourceTree = "<group>";
781 727
 		};
782
-		2639059C1E4C6F440023D7D3 /* TheSidebarController */ = {
783
-			isa = PBXGroup;
784
-			children = (
785
-				2639059D1E4C6F440023D7D3 /* Animations */,
786
-				263905AC1E4C6F440023D7D3 /* TheSidebarController.h */,
787
-				263905AD1E4C6F440023D7D3 /* TheSidebarController.m */,
788
-			);
789
-			path = TheSidebarController;
790
-			sourceTree = "<group>";
791
-		};
792
-		2639059D1E4C6F440023D7D3 /* Animations */ = {
793
-			isa = PBXGroup;
794
-			children = (
795
-				2639059E1E4C6F440023D7D3 /* SidebarAirbnbAnimation.h */,
796
-				2639059F1E4C6F440023D7D3 /* SidebarAirbnbAnimation.m */,
797
-				263905A01E4C6F440023D7D3 /* SidebarAnimation.h */,
798
-				263905A11E4C6F440023D7D3 /* SidebarAnimation.m */,
799
-				263905A21E4C6F440023D7D3 /* SidebarFacebookAnimation.h */,
800
-				263905A31E4C6F440023D7D3 /* SidebarFacebookAnimation.m */,
801
-				263905A41E4C6F440023D7D3 /* SidebarFeedlyAnimation.h */,
802
-				263905A51E4C6F440023D7D3 /* SidebarFeedlyAnimation.m */,
803
-				263905A61E4C6F440023D7D3 /* SidebarFlipboardAnimation.h */,
804
-				263905A71E4C6F440023D7D3 /* SidebarFlipboardAnimation.m */,
805
-				263905A81E4C6F440023D7D3 /* SidebarLuvocracyAnimation.h */,
806
-				263905A91E4C6F440023D7D3 /* SidebarLuvocracyAnimation.m */,
807
-				263905AA1E4C6F440023D7D3 /* SidebarWunderlistAnimation.h */,
808
-				263905AB1E4C6F440023D7D3 /* SidebarWunderlistAnimation.m */,
809
-			);
810
-			path = Animations;
811
-			sourceTree = "<group>";
812
-		};
813 728
 		5012242C2173E0A4000F5F98 /* Parent ViewControllers */ = {
814 729
 			isa = PBXGroup;
815 730
 			children = (
@@ -1235,9 +1150,7 @@
1235 1150
 				263905B01E4C6F440023D7D3 /* MMDrawerController+Subclass.h in Headers */,
1236 1151
 				E8AEDB4A1F5C0BAF000F5A6A /* RNNInteractivePopAnimator.h in Headers */,
1237 1152
 				263905B71E4C6F440023D7D3 /* UIViewController+MMDrawerController.h in Headers */,
1238
-				263905BB1E4C6F440023D7D3 /* RCCDrawerHelper.h in Headers */,
1239 1153
 				C2A57A1C21E815F80066711C /* InteractivePopGestureDelegate.h in Headers */,
1240
-				263905CC1E4C6F440023D7D3 /* SidebarWunderlistAnimation.h in Headers */,
1241 1154
 				507F43F41FF4FCFE00D9425B /* HMSegmentedControl.h in Headers */,
1242 1155
 				501CD31F214A5B6900A6E225 /* RNNLayoutInfo.h in Headers */,
1243 1156
 				50A00C37200F84D6000F01A6 /* RNNOverlayOptions.h in Headers */,
@@ -1253,14 +1166,12 @@
1253 1166
 				50CB3B691FDE911400AA153B /* RNNSideMenuOptions.h in Headers */,
1254 1167
 				5012240A21735959000F5F98 /* RNNSideMenuPresenter.h in Headers */,
1255 1168
 				50E02BDD21A6EE7900A43942 /* SideMenuOpenGestureModeParser.h in Headers */,
1256
-				263905BD1E4C6F440023D7D3 /* RCCDrawerProtocol.h in Headers */,
1257 1169
 				5038A3B5216DF602009280BC /* UINavigationController+RNNOptions.h in Headers */,
1258 1170
 				50E5F78D223F9FAF002AFEAD /* RNNElementTransitionOptions.h in Headers */,
1259 1171
 				5038A3C1216E1E66009280BC /* RNNFontAttributesCreator.h in Headers */,
1260 1172
 				5016E8EF20209690009D4F7C /* RNNCustomTitleView.h in Headers */,
1261 1173
 				50415CBA20553B8E00BB682E /* RNNScreenTransition.h in Headers */,
1262 1174
 				5039558B2174829400B0A663 /* IntNumberParser.h in Headers */,
1263
-				263905C21E4C6F440023D7D3 /* SidebarAnimation.h in Headers */,
1264 1175
 				5038A3BD216E1490009280BC /* RNNTabBarItemCreator.h in Headers */,
1265 1176
 				E8E518361F83B94A000467AC /* RNNViewLocation.h in Headers */,
1266 1177
 				505EDD34214E7B7B0071C7DE /* RNNLeafProtocol.h in Headers */,
@@ -1269,7 +1180,6 @@
1269 1180
 				507F43C51FF4F17C00D9425B /* RNNTopTabsViewController.h in Headers */,
1270 1181
 				501223D72173590F000F5F98 /* RNNNavigationControllerPresenter.h in Headers */,
1271 1182
 				50495946216F5FB5006D2B81 /* TextParser.h in Headers */,
1272
-				263905C61E4C6F440023D7D3 /* SidebarFeedlyAnimation.h in Headers */,
1273 1183
 				505EDD3C214FA8000071C7DE /* RNNViewControllerPresenter.h in Headers */,
1274 1184
 				502CB46E20CD1DDA0019B2FE /* RNNBackButtonOptions.h in Headers */,
1275 1185
 				50495939216E5750006D2B81 /* Bool.h in Headers */,
@@ -1277,21 +1187,17 @@
1277 1187
 				5038A3D2216E364C009280BC /* Text.h in Headers */,
1278 1188
 				261F0E641E6EC94900989DE2 /* RNNModalManager.h in Headers */,
1279 1189
 				5012242621737278000F5F98 /* NullImage.h in Headers */,
1280
-				263905C01E4C6F440023D7D3 /* SidebarAirbnbAnimation.h in Headers */,
1281 1190
 				5038A3B9216DFCFD009280BC /* UITabBarController+RNNOptions.h in Headers */,
1282 1191
 				50644A2020E11A720026709C /* Constants.h in Headers */,
1283 1192
 				5012241E217366D4000F5F98 /* ColorParser.h in Headers */,
1284 1193
 				E8367B801F7A8A4700675C05 /* VICMAImageView.h in Headers */,
1285 1194
 				263905E61E4CAC950023D7D3 /* RNNSideMenuChildVC.h in Headers */,
1286
-				263905C41E4C6F440023D7D3 /* SidebarFacebookAnimation.h in Headers */,
1287 1195
 				50F5DFC51F407AA0001A00BC /* RNNNavigationController.h in Headers */,
1288 1196
 				5047E4F42267568800908DD3 /* RNNExternalComponentStore.h in Headers */,
1289 1197
 				21B85E5F1F44482A00B314B5 /* RNNNavigationButtons.h in Headers */,
1290 1198
 				7BEF0D181E437684003E96B0 /* RNNRootViewController.h in Headers */,
1291 1199
 				7B1126A61E2D2B6C00F9B03B /* RNNBridgeModule.h in Headers */,
1292 1200
 				E8DA24401F97459B00CD552B /* RNNElementFinder.h in Headers */,
1293
-				263905BE1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.h in Headers */,
1294
-				263905CE1E4C6F440023D7D3 /* TheSidebarController.h in Headers */,
1295 1201
 				50AB0B1C2255F8640039DAED /* UIViewController+LayoutProtocol.h in Headers */,
1296 1202
 				50D031342005149000386B3D /* RNNOverlayManager.h in Headers */,
1297 1203
 				50E5F7952240EBD6002AFEAD /* RNNAnimationsTransitionDelegate.h in Headers */,
@@ -1309,12 +1215,10 @@
1309 1215
 				5049594E216F6277006D2B81 /* NumberParser.h in Headers */,
1310 1216
 				50BE951320B5A787004F5DF5 /* RNNStatusBarOptions.h in Headers */,
1311 1217
 				50570BEA2063E09B006A1B5C /* RNNTitleViewHelper.h in Headers */,
1312
-				263905CA1E4C6F440023D7D3 /* SidebarLuvocracyAnimation.h in Headers */,
1313 1218
 				50495956216F6B3D006D2B81 /* DictionaryParser.h in Headers */,
1314 1219
 				4534E72520CB6724009F8185 /* RNNLargeTitleOptions.h in Headers */,
1315 1220
 				390AD477200F499D00A8250D /* RNNSwizzles.h in Headers */,
1316 1221
 				263905B11E4C6F440023D7D3 /* MMDrawerController.h in Headers */,
1317
-				263905B91E4C6F440023D7D3 /* RCCDrawerController.h in Headers */,
1318 1222
 				263905B31E4C6F440023D7D3 /* MMDrawerVisualState.h in Headers */,
1319 1223
 				50451D092042E20600695F00 /* RNNAnimationsOptions.h in Headers */,
1320 1224
 				5048862D20BE976D000908DE /* RNNLayoutOptions.h in Headers */,
@@ -1340,7 +1244,6 @@
1340 1244
 				5047E4F022674AD400908DD3 /* RNNLayoutManager.h in Headers */,
1341 1245
 				263905D61E4C94970023D7D3 /* RNNSideMenuController.h in Headers */,
1342 1246
 				503955972174864E00B0A663 /* NullDouble.h in Headers */,
1343
-				263905C81E4C6F440023D7D3 /* SidebarFlipboardAnimation.h in Headers */,
1344 1247
 				7BEF0D1C1E43771B003E96B0 /* RNNLayoutNode.h in Headers */,
1345 1248
 				50E02BD821A6EE0F00A43942 /* SideMenuOpenMode.h in Headers */,
1346 1249
 				507F43C91FF4F9CC00D9425B /* RNNTopTabOptions.h in Headers */,
@@ -1481,7 +1384,6 @@
1481 1384
 			isa = PBXSourcesBuildPhase;
1482 1385
 			buildActionMask = 2147483647;
1483 1386
 			files = (
1484
-				263905C71E4C6F440023D7D3 /* SidebarFeedlyAnimation.m in Sources */,
1485 1387
 				50C4A497206BDDBB00DB292E /* RNNSubtitleOptions.m in Sources */,
1486 1388
 				50AB0B1D2255F8640039DAED /* UIViewController+LayoutProtocol.m in Sources */,
1487 1389
 				263905B41E4C6F440023D7D3 /* MMDrawerVisualState.m in Sources */,
@@ -1492,13 +1394,11 @@
1492 1394
 				5012241B21736678000F5F98 /* Image.m in Sources */,
1493 1395
 				50495943216F5E5D006D2B81 /* NullBool.m in Sources */,
1494 1396
 				5038A3C7216E2D93009280BC /* Number.m in Sources */,
1495
-				263905C51E4C6F440023D7D3 /* SidebarFacebookAnimation.m in Sources */,
1496 1397
 				50451D0E2042F70900695F00 /* RNNTransition.m in Sources */,
1497 1398
 				5048862E20BE976D000908DE /* RNNLayoutOptions.m in Sources */,
1498 1399
 				501CD320214A5B6900A6E225 /* RNNLayoutInfo.m in Sources */,
1499 1400
 				7BEF0D191E437684003E96B0 /* RNNRootViewController.m in Sources */,
1500 1401
 				50415CBB20553B8E00BB682E /* RNNScreenTransition.m in Sources */,
1501
-				263905C31E4C6F440023D7D3 /* SidebarAnimation.m in Sources */,
1502 1402
 				E8A5CD531F464F0400E89D0D /* RNNAnimator.m in Sources */,
1503 1403
 				50CB3B6A1FDE911400AA153B /* RNNSideMenuOptions.m in Sources */,
1504 1404
 				261F0E6B1E6F028A00989DE2 /* RNNNavigationStackManager.m in Sources */,
@@ -1506,7 +1406,6 @@
1506 1406
 				503955982174864E00B0A663 /* NullDouble.m in Sources */,
1507 1407
 				E8DA24411F97459B00CD552B /* RNNElementFinder.m in Sources */,
1508 1408
 				50570B272061473D006A1B5C /* RNNTitleOptions.m in Sources */,
1509
-				263905BF1E4C6F440023D7D3 /* RCCTheSideBarManagerViewController.m in Sources */,
1510 1409
 				5047E4F122674AD400908DD3 /* RNNLayoutManager.m in Sources */,
1511 1410
 				5012241F217366D4000F5F98 /* ColorParser.m in Sources */,
1512 1411
 				651E1F8D21FD642100DFEA19 /* RNNSplitViewControllerPresenter.m in Sources */,
@@ -1517,7 +1416,6 @@
1517 1416
 				7B1126A01E2D263F00F9B03B /* RNNEventEmitter.m in Sources */,
1518 1417
 				A7626BFD1FC2FB2C00492FB8 /* RNNTopBarOptions.m in Sources */,
1519 1418
 				5050465521F8F4490035497A /* RNNReactComponentRegistry.m in Sources */,
1520
-				263905CB1E4C6F440023D7D3 /* SidebarLuvocracyAnimation.m in Sources */,
1521 1419
 				50570BEB2063E09B006A1B5C /* RNNTitleViewHelper.m in Sources */,
1522 1420
 				263905E71E4CAC950023D7D3 /* RNNSideMenuChildVC.m in Sources */,
1523 1421
 				50495957216F6B3D006D2B81 /* DictionaryParser.m in Sources */,
@@ -1551,17 +1449,14 @@
1551 1449
 				504AFE651FFE53070076E904 /* RNNOptions.m in Sources */,
1552 1450
 				5053CE802175FB1900D0386B /* RNNDefaultOptionsHelper.m in Sources */,
1553 1451
 				50495947216F5FB5006D2B81 /* TextParser.m in Sources */,
1554
-				263905BA1E4C6F440023D7D3 /* RCCDrawerController.m in Sources */,
1555 1452
 				50F5DFC21F407A8C001A00BC /* RNNTabBarController.m in Sources */,
1556 1453
 				50887CA920F26BFE00D06111 /* RNNOverlayWindow.m in Sources */,
1557 1454
 				5038A3CF216E35E0009280BC /* Dictionary.m in Sources */,
1558 1455
 				C2A57A1D21E815F80066711C /* InteractivePopGestureDelegate.m in Sources */,
1559
-				263905BC1E4C6F440023D7D3 /* RCCDrawerHelper.m in Sources */,
1560 1456
 				4534E72620CB6724009F8185 /* RNNLargeTitleOptions.m in Sources */,
1561 1457
 				507E7D58201DDD3000444E6C /* RNNSharedElementAnimationOptions.m in Sources */,
1562 1458
 				2145452A1F4DC85F006E8DA1 /* RCTHelpers.m in Sources */,
1563 1459
 				2DCD9196200014A900EDC75D /* RNNBridgeManager.m in Sources */,
1564
-				263905C11E4C6F440023D7D3 /* SidebarAirbnbAnimation.m in Sources */,
1565 1460
 				263905D71E4C94970023D7D3 /* RNNSideMenuController.m in Sources */,
1566 1461
 				50EB4ED82068EBE000D6ED34 /* RNNBackgroundOptions.m in Sources */,
1567 1462
 				507F43CA1FF4F9CC00D9425B /* RNNTopTabOptions.m in Sources */,
@@ -1570,10 +1465,8 @@
1570 1465
 				214545251F4DC125006E8DA1 /* RNNUIBarButtonItem.m in Sources */,
1571 1466
 				263905B81E4C6F440023D7D3 /* UIViewController+MMDrawerController.m in Sources */,
1572 1467
 				505EDD3D214FA8000071C7DE /* RNNViewControllerPresenter.m in Sources */,
1573
-				263905CD1E4C6F440023D7D3 /* SidebarWunderlistAnimation.m in Sources */,
1574 1468
 				E33AC20820B5C4F90090DB8A /* RNNSplitViewOptions.m in Sources */,
1575 1469
 				E33AC20020B5BA0B0090DB8A /* RNNSplitViewController.m in Sources */,
1576
-				263905CF1E4C6F440023D7D3 /* TheSidebarController.m in Sources */,
1577 1470
 				5038A3C2216E1E66009280BC /* RNNFontAttributesCreator.m in Sources */,
1578 1471
 				506317AB220B547400B26FC3 /* UIImage+insets.m in Sources */,
1579 1472
 				E8A430121F9CB87B00B61A20 /* RNNAnimatedView.m in Sources */,
@@ -1616,7 +1509,6 @@
1616 1509
 				21B85E5D1F44480200B314B5 /* RNNNavigationButtons.m in Sources */,
1617 1510
 				E8E518371F83B94A000467AC /* RNNViewLocation.m in Sources */,
1618 1511
 				E3458D3E20BD9CE40023149B /* RNNPreviewOptions.m in Sources */,
1619
-				263905C91E4C6F440023D7D3 /* SidebarFlipboardAnimation.m in Sources */,
1620 1512
 				5012242B217372B3000F5F98 /* ImageParser.m in Sources */,
1621 1513
 			);
1622 1514
 			runOnlyForDeploymentPostprocessing = 0;

+ 0
- 1
playground/ios/playground/AppDelegate.m Näytä tiedosto

@@ -1,6 +1,5 @@
1 1
 #import <React/RCTBundleURLProvider.h>
2 2
 #import <ReactNativeNavigation/ReactNativeNavigation.h>
3
-#import <React/RCTRootView.h>
4 3
 
5 4
 #import "AppDelegate.h"
6 5
 #import "RNNCustomViewController.h"