Available thru Cocoapods
Latest 1.1.2
Homepage https://github.com/aronse/InAppNotification
License MIT

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first..

Examples

InAppNotification provides you with an easy way to display in-app iOS native like notification.

Displaying a simple notification, without image :

InAppNotification.sharedInstance.showNotification("Notification Title", message: "Notification message. Without image.")

You can also display a notification including a custom image:

InAppNotification.sharedInstance.showNotificationWithImage(UIImage(named: "your-image"), title: "Notification title", message: "Notification message. Default configuration is numberOfLine = 2.")

Gif2

Finally, you can set the customView, and set callbacks to control when this view is either shown, hidden, dragged using didShowCustomViewBlock didHideCustomViewBlock and didDragCustomViewBlock.

Gif1

Installation

InAppNotification is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "InAppNotification"

Author

Alex, [email protected]

License

InAppNotification is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "InAppNotification",
    "version": "1.1.2",
    "summary": "In-app native like notification",
    "description": "In-app native like notification for iOS",
    "homepage": "https://github.com/aronse/InAppNotification",
    "license": "MIT",
    "authors": {
        "aronse": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aronse/InAppNotification.git",
        "tag": "1.1.2"
    },
    "social_media_url": "https://twitter.com/ronse_a",
    "platforms": {
        "ios": "8.2"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "InAppNotification": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This