Skip to content

Commit

Permalink
Update the deprecated annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Lei committed Jan 6, 2017
1 parent a3a86a5 commit 4adb4cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pod/Classes/Operations/SKYRegisterDeviceOperation.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@interface SKYRegisterDeviceOperation : SKYOperation

- (instancetype)initWithDeviceToken:(NSData *)deviceToken
__attribute__((deprecated("Use -(void)initWithDeviceToken:topic: instead")));
__attribute__((deprecated("Use -initWithDeviceToken:topic: instead")));
- (instancetype)initWithDeviceToken:(NSData *)deviceToken topic:(NSString *)topic;

/**
Expand All @@ -35,7 +35,7 @@
*/
+ (instancetype)operation;
+ (instancetype)operationWithDeviceToken:(NSData *)deviceToken
__attribute__((deprecated("Use +(instancetype)operationWithDeviceToken:topic: instead")));
__attribute__((deprecated("Use +operationWithDeviceToken:topic: instead")));
+ (instancetype)operationWithDeviceToken:(NSData *)topic topic:(NSString *)topic;

@property (nonatomic, readonly, copy) NSData *deviceToken;
Expand Down

0 comments on commit 4adb4cb

Please sign in to comment.