diff options
Diffstat (limited to 'SmartDeviceLink/SDLTimer.h')
-rw-r--r-- | SmartDeviceLink/SDLTimer.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLTimer.h b/SmartDeviceLink/SDLTimer.h index f9f7be3d9..0382b7f67 100644 --- a/SmartDeviceLink/SDLTimer.h +++ b/SmartDeviceLink/SDLTimer.h @@ -4,11 +4,13 @@ #import <Foundation/Foundation.h> +NS_ASSUME_NONNULL_BEGIN + @interface SDLTimer : NSObject -@property (nonatomic, copy) void (^elapsedBlock)(void); -@property (nonatomic, copy) void (^canceledBlock)(void); -@property (assign) float duration; +@property (copy, nonatomic, nullable) void (^elapsedBlock)(void); +@property (copy, nonatomic, nullable) void (^canceledBlock)(void); +@property (assign, nonatomic) float duration; - (instancetype)init; - (instancetype)initWithDuration:(float)duration __deprecated; @@ -17,3 +19,5 @@ - (void)cancel; @end + +NS_ASSUME_NONNULL_END |