CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✓ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Mar 2015 |
Maintained by Radosław Szeja.
InAppNotifications module is a simple mechanism to present notifications when application is active. You can read more about this project on my blog.
Use CocoaPods:
pod 'RSZInAppNotifications'
or add RSZInAppNotifications folder to your project.
RSZPresenter requires UIWindow instance to work. Add the following code to -application:didFinishLaunchingWithOptions:
[RSZPresenter setPresentingWindow:self.window];
Now you can create notification (assuming you have it's view):
RSZNotification *notification = [RSZNotification notificationWithAssociatedView:view onTapBlock:block];
and then present it:
[RSZPresenter presentNotification:notification];
That's it!