Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cwRichardKim committed Dec 23, 2014
1 parent 1510cb5 commit 9eb4e0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ A way to quickly add a notification icon to a UIView

Code:
``` objc
RKNotificationHub* hub = [[RKNotificationHub alloc]initWithView:yourView];
[hub increment];
RKNotificationHub* hub = [[RKNotificationHub alloc]initWithView:yourView]; // sets the count to 0
[hub increment]; // increments the count to 1, making the notification visible
```

###USAGE
Expand Down

0 comments on commit 9eb4e0f

Please sign in to comment.