From 642224e6db5dab5aaf3614684fcca469911c3c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B8=CC=86=20=D0=93=D0=B0?= =?UTF-8?q?=D0=BB=D0=B5=D0=B7=D0=B4=D0=B8=D0=BD=D0=BE=D0=B2?= Date: Sat, 9 Apr 2016 02:00:16 +0300 Subject: [PATCH] missed some of nullability notations --- CTAssetsPickerController/CTAssetCollectionViewCell.h | 6 ++++-- CTAssetsPickerController/CTAssetThumbnailStacks.h | 4 ++++ CTAssetsPickerController/CTAssetsGridViewController.h | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CTAssetsPickerController/CTAssetCollectionViewCell.h b/CTAssetsPickerController/CTAssetCollectionViewCell.h index 9857b49b..945a0ff8 100644 --- a/CTAssetsPickerController/CTAssetCollectionViewCell.h +++ b/CTAssetsPickerController/CTAssetCollectionViewCell.h @@ -28,7 +28,7 @@ #import #import "CTAssetThumbnailStacks.h" - +NS_ASSUME_NONNULL_BEGIN @interface CTAssetCollectionViewCell : UITableViewCell @@ -51,4 +51,6 @@ - (instancetype)initWithThumbnailSize:(CGSize)size reuseIdentifier:(nullable NSString *)reuseIdentifier; - (void)bind:(nonnull PHAssetCollection *)collection count:(NSUInteger)count; -@end \ No newline at end of file +@end + +NS_ASSUME_NONNULL_END \ No newline at end of file diff --git a/CTAssetsPickerController/CTAssetThumbnailStacks.h b/CTAssetsPickerController/CTAssetThumbnailStacks.h index e2280691..6a5ff4c3 100644 --- a/CTAssetsPickerController/CTAssetThumbnailStacks.h +++ b/CTAssetsPickerController/CTAssetThumbnailStacks.h @@ -27,6 +27,8 @@ #import #import "CTAssetThumbnailView.h" +NS_ASSUME_NONNULL_BEGIN + @interface CTAssetThumbnailStacks : UIView @property (nonatomic, assign) CGSize thumbnailSize; @@ -37,3 +39,5 @@ - (void)setHighlighted:(BOOL)highlighted; @end + +NS_ASSUME_NONNULL_END \ No newline at end of file diff --git a/CTAssetsPickerController/CTAssetsGridViewController.h b/CTAssetsPickerController/CTAssetsGridViewController.h index 34d68fec..fc1f45d0 100644 --- a/CTAssetsPickerController/CTAssetsGridViewController.h +++ b/CTAssetsPickerController/CTAssetsGridViewController.h @@ -42,7 +42,7 @@ @interface CTAssetsGridViewController : UICollectionViewController -@property (nonatomic, weak) id delegate; +@property (nonatomic, weak, nullable) id delegate; @property (nonatomic, strong, nonnull) PHAssetCollection *assetCollection; @end