File tree 3 files changed +15
-9
lines changed
FRLayeredNavigationController
FRLayeredNavigationControllerDemo
3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 42
42
/* *
43
43
* Sent by the layered navigation controller when it is about to begin moving a view controller. This message
44
44
* is only sent if the controller can be moved.
45
- *
45
+ *
46
46
* @param layeredController The layered controller being interacted with.
47
47
* @param controller The view controller which is about to be moved.
48
48
*/
49
- - (void )layeredNavigationController : (FRLayeredNavigationController*)layeredController willMoveController : (UIViewController*)controller ;
49
+ - (void )layeredNavigationController : (FRLayeredNavigationController*)layeredController
50
+ willMoveController : (UIViewController*)controller ;
50
51
51
52
/* *
52
53
* Sent by the layered navigation controller when it is moving a view controller. This message
56
57
* @param layeredController The layered controller being interacted with.
57
58
* @param controller The view controller which is currently being moved.
58
59
*/
59
- - (void )layeredNavigationController : (FRLayeredNavigationController*)layeredController movingViewController : (UIViewController*)controller ;
60
+ - (void )layeredNavigationController : (FRLayeredNavigationController*)layeredController
61
+ movingViewController : (UIViewController*)controller ;
60
62
61
63
/* *
62
- * Sent by the layered navigation controller when it has finished moving a view controller.
64
+ * Sent by the layered navigation controller when it has finished moving a view controller.
63
65
*
64
66
* @param layeredController The layered controller being interacted with.
65
67
* @param controller The view controller which has finished moving.
66
68
*/
67
- - (void )layeredNavigationController : (FRLayeredNavigationController*)layeredController didMoveController : (UIViewController*)controller ;
69
+ - (void )layeredNavigationController : (FRLayeredNavigationController*)layeredController
70
+ didMoveController : (UIViewController*)controller ;
68
71
69
72
@end
70
73
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ - (void)handleGesture:(UIPanGestureRecognizer *)gestureRecognizer
182
182
break ;
183
183
}
184
184
}
185
-
185
+
186
186
if ([self .delegate respondsToSelector: @selector (layeredNavigationController:willMoveController: )]) {
187
187
[self .delegate layeredNavigationController: self willMoveController: self .firstTouchedController];
188
188
}
Original file line number Diff line number Diff line change @@ -83,17 +83,20 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
83
83
}
84
84
85
85
// Layered controller delegate
86
- - (void )layeredNavigationController : (FRLayeredNavigationController *)layeredController didMoveController : (UIViewController *)controller
86
+ - (void )layeredNavigationController : (FRLayeredNavigationController *)layeredController
87
+ didMoveController : (UIViewController *)controller
87
88
{
88
89
NSLog (@" Finished moving controller %@ " , controller);
89
90
}
90
91
91
- - (void )layeredNavigationController : (FRLayeredNavigationController *)layeredController movingViewController : (UIViewController *)controller
92
+ - (void )layeredNavigationController : (FRLayeredNavigationController *)layeredController
93
+ movingViewController : (UIViewController *)controller
92
94
{
93
95
NSLog (@" Moving controller %@ " , controller);
94
96
}
95
97
96
- -(void )layeredNavigationController : (FRLayeredNavigationController *)layeredController willMoveController : (UIViewController *)controller
98
+ -(void )layeredNavigationController : (FRLayeredNavigationController *)layeredController
99
+ willMoveController : (UIViewController *)controller
97
100
{
98
101
NSLog (@" Going to start moving the view controller %@ " , controller);
99
102
}
You can’t perform that action at this time.
0 commit comments