KDNotification 0.1.5

KDNotification 0.1.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2016

Maintained by Keke Dandois.



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

Usage

Notifications:
    [KDNotification showWithText:@"PING" duration:3.0 tapped:^ {
        NSLog(@"tapped notification");
    }];
Toasts:
    [KDToastNotification showWithText:@"this is a toast. Who has the butter?" duration:3.0 tapped:^ {
        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.