- fix object

This commit is contained in:
giuseppenuc committed 2016-04-06 13:19:55 +02:00
1 parent c054feaec0
commit 3d11d2f025
5 files changed
+22 -10

No files matched your search

+7 -1
View File
@@ -8,6 +8,12 @@
#import "PNObject.h"
typedef NS_ENUM(NSInteger, PNInstallationType) {
PNInstallationTypeNew = 0,
PNInstallationTypeChange,
PNInstallationTypeNone,
};
@interface PNInstallation : PNObject
/**
@@ -28,7 +34,7 @@
*
* @return RETURN YES if token is not set o token changes, NO if token is the same of old token.
*/
- (BOOL) setDeviceTokenFromData:(nullable NSData *)deviceTokenData;
- (PNInstallationType) setDeviceTokenFromData:(nullable NSData *)deviceTokenData;
///--------------------------------------
#pragma mark - PNInstallation Properties