PushKit Changes for Swift
PushKit
Added PKPushTypeComplication
Modified PKPushRegistry
Declaration | |
---|---|
From | class PKPushRegistry : NSObject { weak var delegate: PKPushRegistryDelegate! var desiredPushTypes: Set<NSObject>! func pushTokenForType(_ type: String!) -> NSData! init!(queue queue: dispatch_queue_t!) } |
To | class PKPushRegistry : NSObject { weak var delegate: PKPushRegistryDelegate? var desiredPushTypes: Set<NSObject>! func pushTokenForType(_ type: String!) -> NSData! init!(queue queue: dispatch_queue_t!) } |
Modified PKPushRegistry.delegate
Declaration | |
---|---|
From | weak var delegate: PKPushRegistryDelegate! |
To | weak var delegate: PKPushRegistryDelegate? |