Latest 1.0.1
Homepage https://github.com/rad3ks/RSZInAppNotifications
License MIT
Platforms ios 7.0, requires ARC
Authors

InAppNotifications

InAppNotifications module is a simple mechanism to present notifications when application is active. You can read more about this project on my blog.

Example

Installation

Use CocoaPods:

pod 'RSZInAppNotifications'

or add RSZInAppNotifications folder to your project.

Usage

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!

Latest podspec

{
    "name": "RSZInAppNotifications",
    "version": "1.0.1",
    "summary": "In-app notifications mechanism for your app",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "platforms": {
        "ios": "7.0"
    },
    "homepage": "https://github.com/rad3ks/RSZInAppNotifications",
    "requires_arc": "true",
    "authors": {
        "Radosu0142aw Szeja": "[email protected]"
    },
    "source": {
        "git": "https://github.com/rad3ks/RSZInAppNotifications.git",
        "tag": "1.0.1"
    },
    "source_files": "RSZInAppNotifications/*.{h,m}"
}

Pin It on Pinterest

Share This