Skip to content

Commit ff718b7

Browse files
committed
TRIVIAL: Fixed formatting errors
1 parent 1bb2766 commit ff718b7

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

FRLayeredNavigationController/FRLayeredNavigationController.h

+8-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@
4242
/**
4343
* Sent by the layered navigation controller when it is about to begin moving a view controller. This message
4444
* is only sent if the controller can be moved.
45-
*
45+
*
4646
* @param layeredController The layered controller being interacted with.
4747
* @param controller The view controller which is about to be moved.
4848
*/
49-
- (void)layeredNavigationController:(FRLayeredNavigationController*)layeredController willMoveController:(UIViewController*)controller;
49+
- (void)layeredNavigationController:(FRLayeredNavigationController*)layeredController
50+
willMoveController:(UIViewController*)controller;
5051

5152
/**
5253
* Sent by the layered navigation controller when it is moving a view controller. This message
@@ -56,15 +57,17 @@
5657
* @param layeredController The layered controller being interacted with.
5758
* @param controller The view controller which is currently being moved.
5859
*/
59-
- (void)layeredNavigationController:(FRLayeredNavigationController*)layeredController movingViewController:(UIViewController*)controller;
60+
- (void)layeredNavigationController:(FRLayeredNavigationController*)layeredController
61+
movingViewController:(UIViewController*)controller;
6062

6163
/**
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.
6365
*
6466
* @param layeredController The layered controller being interacted with.
6567
* @param controller The view controller which has finished moving.
6668
*/
67-
- (void)layeredNavigationController:(FRLayeredNavigationController*)layeredController didMoveController:(UIViewController*)controller;
69+
- (void)layeredNavigationController:(FRLayeredNavigationController*)layeredController
70+
didMoveController:(UIViewController*)controller;
6871

6972
@end
7073

FRLayeredNavigationController/FRLayeredNavigationController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ - (void)handleGesture:(UIPanGestureRecognizer *)gestureRecognizer
182182
break;
183183
}
184184
}
185-
185+
186186
if ([self.delegate respondsToSelector:@selector(layeredNavigationController:willMoveController:)]) {
187187
[self.delegate layeredNavigationController:self willMoveController:self.firstTouchedController];
188188
}

FRLayeredNavigationControllerDemo/MainViewController.m

+6-3
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,20 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
8383
}
8484

8585
// Layered controller delegate
86-
- (void)layeredNavigationController:(FRLayeredNavigationController *)layeredController didMoveController:(UIViewController *)controller
86+
- (void)layeredNavigationController:(FRLayeredNavigationController *)layeredController
87+
didMoveController:(UIViewController *)controller
8788
{
8889
NSLog(@"Finished moving controller %@", controller);
8990
}
9091

91-
- (void)layeredNavigationController:(FRLayeredNavigationController *)layeredController movingViewController:(UIViewController *)controller
92+
- (void)layeredNavigationController:(FRLayeredNavigationController *)layeredController
93+
movingViewController:(UIViewController *)controller
9294
{
9395
NSLog(@"Moving controller %@", controller);
9496
}
9597

96-
-(void)layeredNavigationController:(FRLayeredNavigationController *)layeredController willMoveController:(UIViewController *)controller
98+
-(void)layeredNavigationController:(FRLayeredNavigationController *)layeredController
99+
willMoveController:(UIViewController *)controller
97100
{
98101
NSLog(@"Going to start moving the view controller %@", controller);
99102
}

0 commit comments

Comments
 (0)