Skip to content

Commit 670f7b9

Browse files
committed
add missing nullability annotations
1 parent b6d7a25 commit 670f7b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CTAssetsPickerController/CTAssetCollectionViewCell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
@property (nonatomic, weak, nullable) UIColor *selectedBackgroundColor UI_APPEARANCE_SELECTOR;
4949

5050

51-
- (instancetype)initWithThumbnailSize:(CGSize)size reuseIdentifier:(nullable NSString *)reuseIdentifier;
51+
- (nonnull instancetype)initWithThumbnailSize:(CGSize)size reuseIdentifier:(nullable NSString *)reuseIdentifier;
5252
- (void)bind:(nonnull PHAssetCollection *)collection count:(NSUInteger)count;
5353

5454
@end

CTAssetsPickerController/CTAssetThumbnailStacks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@interface CTAssetThumbnailStacks : UIView
3131

3232
@property (nonatomic, assign) CGSize thumbnailSize;
33-
@property (nonatomic, copy, readonly) NSArray<CTAssetThumbnailView*> *thumbnailViews;
33+
@property (nonnull, nonatomic, copy, readonly) NSArray<CTAssetThumbnailView *> *thumbnailViews;
3434
@property (nonatomic, assign, readonly) UIEdgeInsets edgeInsets;
3535

3636
- (nonnull CTAssetThumbnailView *)thumbnailAtIndex:(NSUInteger)index;

CTAssetsPickerController/CTAssetsGridViewController.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242

4343
@interface CTAssetsGridViewController : UICollectionViewController
4444

45-
@property (nonatomic, weak) id<CTAssetsGridViewControllerDelegate> delegate;
45+
@property (nonatomic, weak, nullable) id<CTAssetsGridViewControllerDelegate> delegate;
4646
@property (nonatomic, strong, nonnull) PHAssetCollection *assetCollection;
47-
@property (nonatomic, strong) PHFetchResult *pickFromFetch;
47+
@property (nonatomic, strong, nullable) PHFetchResult *pickFromFetch;
4848

4949

5050
@end

0 commit comments

Comments
 (0)