@@ -28,7 +28,7 @@
#import <Photos/Photos.h>
#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
+@end
+
+NS_ASSUME_NONNULL_END
@@ -27,6 +27,8 @@
#import <UIKit/UIKit.h>
#import "CTAssetThumbnailView.h"
@interface CTAssetThumbnailStacks : UIView
@property (nonatomic, assign) CGSize thumbnailSize;
@@ -37,3 +39,5 @@
- (void)setHighlighted:(BOOL)highlighted;
@end
@@ -42,7 +42,7 @@
@interface CTAssetsGridViewController : UICollectionViewController
-@property (nonatomic, weak) id<CTAssetsGridViewControllerDelegate> delegate;
+@property (nonatomic, weak, nullable) id<CTAssetsGridViewControllerDelegate> delegate;
@property (nonatomic, strong, nonnull) PHAssetCollection *assetCollection;