Skip to content

Commit 2786733

Browse files
committed
Code formatting
1 parent 9d38ca4 commit 2786733

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

SlideMenu/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
2323

2424
[SlideNavigationController sharedInstance].rightMenu = rightMenu;
2525
[SlideNavigationController sharedInstance].leftMenu = leftMenu;
26-
[SlideNavigationController sharedInstance].menuRevealAnimationDuration = .18;
26+
[SlideNavigationController sharedInstance].menuRevealAnimationDuration = .18;
2727

2828
// Creating a custom bar button for right menu
2929
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 30)];

SlideMenu/Helper Classes/RightMenuViewController.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,46 +80,46 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
8080
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
8181
{
8282
id <SlideNavigationContorllerAnimator> revealAnimator;
83-
CGFloat animationDuration = 0;
83+
CGFloat animationDuration = 0;
8484

8585
switch (indexPath.row)
8686
{
8787
case 0:
8888
revealAnimator = nil;
89-
animationDuration = .19;
89+
animationDuration = .19;
9090
break;
9191

9292
case 1:
9393
revealAnimator = [[SlideNavigationContorllerAnimatorSlide alloc] init];
94-
animationDuration = .19;
94+
animationDuration = .19;
9595
break;
9696

9797
case 2:
9898
revealAnimator = [[SlideNavigationContorllerAnimatorFade alloc] init];
99-
animationDuration = .18;
99+
animationDuration = .18;
100100
break;
101101

102102
case 3:
103103
revealAnimator = [[SlideNavigationContorllerAnimatorSlideAndFade alloc] initWithMaximumFadeAlpha:.8 fadeColor:[UIColor blackColor] andSlideMovement:100];
104-
animationDuration = .19;
104+
animationDuration = .19;
105105
break;
106106

107107
case 4:
108108
revealAnimator = [[SlideNavigationContorllerAnimatorScale alloc] init];
109-
animationDuration = .22;
109+
animationDuration = .22;
110110
break;
111111

112112
case 5:
113113
revealAnimator = [[SlideNavigationContorllerAnimatorScaleAndFade alloc] initWithMaximumFadeAlpha:.6 fadeColor:[UIColor blackColor] andMinimumScale:.8];
114-
animationDuration = .22;
114+
animationDuration = .22;
115115
break;
116116

117117
default:
118118
return;
119119
}
120120

121121
[[SlideNavigationController sharedInstance] closeMenuWithCompletion:^{
122-
[SlideNavigationController sharedInstance].menuRevealAnimationDuration = animationDuration;
122+
[SlideNavigationController sharedInstance].menuRevealAnimationDuration = animationDuration;
123123
[SlideNavigationController sharedInstance].menuRevealAnimator = revealAnimator;
124124
}];
125125
}

0 commit comments

Comments
 (0)