From 7d10d739c009a77efedc96613d40ad46dc1c2421 Mon Sep 17 00:00:00 2001 From: Collin Ruffenach Date: Mon, 2 Dec 2013 22:14:19 -0800 Subject: [PATCH] Update README with new keys --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d111c5af..699d4b71 100644 --- a/README.md +++ b/README.md @@ -30,14 +30,14 @@ NSDictionary *options = @{kCWStatusBarNotificationTextKey : @"Hello World!", kCWStatusBarNotificationTextAlignmentKey : @(NSTextAlignmentCenter), kCWStatusBarNotificationBackgroundColorKey : [UIColor redColor], kCWStatusBarNotificationAnimationTypeKey : @(CWStatusBarNotificationAnimationTypeSpring), - kCWStatusBarNotificationNotificationInAnimationStyleKey : @(CWStatusBarNotificationAnimationStyleLeft), - kCWStatusBarNotificationNotificationOutAnimationStyleKey : @(CWStatusBarNotificationAnimationStyleRight), - kCWStatusBarNotificationAnimateInTimeIntervalKey : @(0.5), - kCWStatusBarNotificationAnimateOutTimeIntervalKey: @(0.5)}; -[CWStatusBarNotificationManager showNotificationWithOptions:options - completionBlock:^{ - NSLog(@"Completed"); - }]; + kCWStatusBarNotificationAnimationInStyleKey : @(CWStatusBarNotificationAnimationStyleLeft), + kCWStatusBarNotificationAnimationOutStyleKey : @(CWStatusBarNotificationAnimationStyleRight), + kCWStatusBarNotificationAnimationInTimeIntervalKey : @(0.5), + kCWStatusBarNotificationAnimationOutTimeIntervalKey: @(0.5)}; + [CWStatusBarNotificationManager showNotificationWithOptions:options + completionBlock:^{ + NSLog(@"Completed"); + }]; ``` Generates this