PushKit Changes for Objective-C
PushKit
PKDefines.h
Added PKPushType
PKPushCredentials.h
Modified PKPushCredentials.type
Declaration | |
---|---|
From | @property(readonly, copy) NSString *type |
To | @property(readonly, copy) PKPushType type |
PKPushPayload.h
Modified PKPushPayload.type
Declaration | |
---|---|
From | @property(readonly, copy) NSString *type |
To | @property(readonly, copy) PKPushType type |
PKPushRegistry.h
Modified PKPushRegistry.desiredPushTypes
Declaration | |
---|---|
From | @property(readwrite, copy) NSSet *desiredPushTypes |
To | @property(readwrite, copy) NSSet<PKPushType> *desiredPushTypes |
Modified -[PKPushRegistry initWithQueue:]
Designated Initializer | |
---|---|
From | -- |
To | yes |
Modified -[PKPushRegistry pushTokenForType:]
Declaration | |
---|---|
From | - (NSData *)pushTokenForType:(NSString *)type |
To | - (NSData *)pushTokenForType:(PKPushType)type |
Declaration | |
---|---|
From | - (void)pushRegistry:(PKPushRegistry *)registry didInvalidatePushTokenForType:(NSString *)type |
To | - (void)pushRegistry:(PKPushRegistry *)registry didInvalidatePushTokenForType:(PKPushType)type |
Declaration | |
---|---|
From | - (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(NSString *)type |
To | - (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(PKPushType)type |
Declaration | |
---|---|
From | - (void)pushRegistry:(PKPushRegistry *)registry didUpdatePushCredentials:(PKPushCredentials *)credentials forType:(NSString *)type |
To | - (void)pushRegistry:(PKPushRegistry *)registry didUpdatePushCredentials:(PKPushCredentials *)credentials forType:(PKPushType)type |