diff options
author | ritsuka <[email protected]> | 2015-05-30 07:17:22 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-30 07:17:22 +0000 |
commit | 2837048a59ac5beab0b3428ca89c86857765de0a (patch) | |
tree | 15417d195f7223d85fac22560479717dfda31101 /macosx/HBRange.h | |
parent | 93fb333304b2493a50623b04caac95b53eca3240 (diff) |
MacGui: add nullability annotations to the headers and use weak where is possible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBRange.h')
-rw-r--r-- | macosx/HBRange.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBRange.h b/macosx/HBRange.h index 203b6b24c..bf18279b8 100644 --- a/macosx/HBRange.h +++ b/macosx/HBRange.h @@ -8,6 +8,8 @@ @class HBTitle; +NS_ASSUME_NONNULL_BEGIN + extern NSString *HBRangeChangedNotification; typedef NS_ENUM(NSUInteger, HBRangeType) { @@ -42,6 +44,8 @@ typedef NS_ENUM(NSUInteger, HBRangeType) { @property (nonatomic, readonly) NSString *duration; -@property (nonatomic, readwrite, unsafe_unretained) HBTitle *title; +@property (nonatomic, readwrite, weak, nullable) HBTitle *title; @end + +NS_ASSUME_NONNULL_END |