Latest 0.1.5
Homepage https://github.com/kekedandois/KDNotification
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

KDNotification is a lightweight framework to show and interact with notifications and toast in your application. The general style is inspired by iOS 10 notifications.

Screenshots

Notification Toast
KDNotification KDNotification
KDNotification KDNotification

Usage

Notifications:
    [KDNotification showWithText:@"PING" duration:3.0 tapped:^(KDNotification *notification) {
        NSLog(@"tapped notification");
    }];
Toasts:
    [KDToastNotification showWithText:@"this is a toast. Who has the butter?" duration:3.0 tapped:^(KDNotification *notification) {
        NSLog(@"tapped toast");
    }];

Set Dark style:

    [KDNotification setNotificionStyle:UIBlurEffectStyleDark];

Example

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

Installation

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

pod "KDNotification"

TODO

  • customization options (text color, font etc.)
  • Actions

Author

Kéké Dandois
Twitter: @kekedandois

License

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

Latest podspec

{
    "name": "KDNotification",
    "version": "0.1.5",
    "summary": "Notifications and toasts made simple.",
    "description": "KDNotification is a lightweight framework to show and interact with notifications and toast in your application. The general style is inspired by iOS 10 notifications.",
    "homepage": "https://github.com/kekedandois/KDNotification",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ku00e9ku00e9 Dandois": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kekedandois/KDNotification.git",
        "tag": "0.1.5"
    },
    "social_media_url": "https://twitter.com/kekedandois",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "KDNotification/Classes/**/*.{h,m}",
    "resource_bundles": {
        "KDNotification": [
            "KDNotification/Classes/**/*.{xib}"
        ]
    }
}

Pin It on Pinterest

Share This