Latest 0.1.1
Homepage https://github.com/felix-dumit/UNUserNotificationCenter-Bolts
License MIT
Platforms ios 9.0
Dependencies Bolts/Tasks
Frameworks UserNotifications
Authors

UNNotificationCenter-Bolts

Bolts wrapper for UNNotificationCenter

#import <UserNotifications/UserNotifications.h>

@interface UNUserNotificationCenter (Bolts)

-(BFTask <NSNumber*> *)addNotificationRequest:(UNNotificationRequest*)request;

-(BFTask <UNNotificationSettings*> *)getNotificationSettings;

-(BFTask<NSSet<UNNotificationCategory *> *> *)getNotificationCategories;

-(BFTask<NSArray<UNNotificationRequest *> *> *)getPendingNotificationRequests;

-(BFTask<NSArray<UNNotification *> *> *)getDeliveredNotifications;

-(BFTask <NSNumber*> *)requestAuthoriationWithOptions:(UNAuthorizationOptions)options;

@end

Latest podspec

{
    "name": "UNUserNotificationCenter+Bolts",
    "platforms": {
        "ios": "9.0"
    },
    "summary": "Bolts wrapper for UNUserNotificationCenter",
    "version": "0.1.1",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Felix Dumit": "[email protected]"
    },
    "homepage": "https://github.com/felix-dumit/UNUserNotificationCenter-Bolts",
    "source": {
        "git": "https://github.com/felix-dumit/UNUserNotificationCenter-Bolts.git",
        "tag": "0.1.1"
    },
    "frameworks": "UserNotifications",
    "dependencies": {
        "Bolts/Tasks": []
    },
    "source_files": "UNUserNotificationCenter+Bolts.{h,m}"
}

Pin It on Pinterest

Share This