Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdilo committed Feb 10, 2014
1 parent 838e2ad commit aded6cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions FDStatusBarNotifierView.podspec
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "FDStatusBarNotifierView"
s.version = "0.1.1"
s.version = "0.1.2"
s.summary = "FDStatusBarNotifier is a UIView subclass that lets you display notifications using the space in which the status bar resides."
s.homepage = "https://github.com/frankdilo/FDStatusBarNotifierView"
s.author = { "Francesco Di Lorenzo" => "fradilorenzo92@gmail.com" }
s.author = { "Francesco Di Lorenzo" => "fradilorenzo92@gmail.com" }
s.license = { :type => 'MIT', :file => 'LICENSE'}
s.source = { :git => "https://github.com/frankdilo/FDStatusBarNotifierView.git", :tag => "v0.1.1" }
s.source = { :git => "https://github.com/frankdilo/FDStatusBarNotifierView.git", :tag => "v0.1.2" }
s.platform = :ios, '7.0'

s.source_files = 'FDStatusBarNotifierView/*.{h,m}'
Expand Down
1 change: 0 additions & 1 deletion FDStatusBarNotifierView/FDStatusBarNotifierView.h
Expand Up @@ -22,7 +22,6 @@ extern NSTimeInterval const kTimeOnScreen;

@property id<FDStatusBarNotifierViewDelegate> delegate;


- (id)initWithMessage:(NSString *)message;
- (id)initWithMessage:(NSString *)message delegate:(id <FDStatusBarNotifierViewDelegate>)delegate;

Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -10,6 +10,10 @@ It’s as easy to use as `UIAlertView`, here is an example:
FDStatusBarNotifierView *notifierView = [[FDStatusBarNotifierView alloc] initWithMessage:@"Hello!"];
notifierView.timeOnScreen = 3.0; // by default it's 2 seconds
[notifierView showInWindow:self.view.window];

// or from a view controller with a navigation bar
[notifierView showAboveNavigationController:self.navigationController];



When you call `showInWindow:` the status bar disappear and the notifier view takes its place with a smooth animation.
Expand Down

0 comments on commit aded6cc

Please sign in to comment.