From 07490ff94351beecd042ffcfebc6efa867ad562a Mon Sep 17 00:00:00 2001 From: Ellen Shapiro Date: Fri, 3 Jan 2014 12:36:06 -0600 Subject: [PATCH] - Whitespace Cleanup - Explicit statement of floats for consistency. --- TWTSideMenuViewController/TWTSideMenuViewController.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/TWTSideMenuViewController/TWTSideMenuViewController.m b/TWTSideMenuViewController/TWTSideMenuViewController.m index 756c340..adee071 100644 --- a/TWTSideMenuViewController/TWTSideMenuViewController.m +++ b/TWTSideMenuViewController/TWTSideMenuViewController.m @@ -307,7 +307,6 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B incomingViewController.view.frame = self.containerView.bounds; - //Create default animation curve. UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseInOut; switch (self.animationType) { @@ -318,9 +317,8 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B break; } case TWTSideMenuAnimationTypeFadeIn: - incomingViewController.view.alpha = .6; + incomingViewController.view.alpha = 0.6f; options = UIViewAnimationOptionCurveEaseOut; - break; } @@ -331,7 +329,7 @@ - (void)setMainViewController:(UIViewController *)mainViewController animated:(B incomingViewController.view.transform = CGAffineTransformIdentity; break; case TWTSideMenuAnimationTypeFadeIn: - incomingViewController.view.alpha = 1; + incomingViewController.view.alpha = 1.0f; default: break; }