Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missed few nullability declarations in #219 #225

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions CTAssetsPickerController/CTAssetCollectionViewCell.h
Expand Up @@ -28,7 +28,7 @@
#import <Photos/Photos.h>
#import "CTAssetThumbnailStacks.h"


NS_ASSUME_NONNULL_BEGIN

@interface CTAssetCollectionViewCell : UITableViewCell

Expand All @@ -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
4 changes: 4 additions & 0 deletions CTAssetsPickerController/CTAssetThumbnailStacks.h
Expand Up @@ -27,6 +27,8 @@
#import <UIKit/UIKit.h>
#import "CTAssetThumbnailView.h"

NS_ASSUME_NONNULL_BEGIN

@interface CTAssetThumbnailStacks : UIView

@property (nonatomic, assign) CGSize thumbnailSize;
Expand All @@ -37,3 +39,5 @@
- (void)setHighlighted:(BOOL)highlighted;

@end

NS_ASSUME_NONNULL_END
2 changes: 1 addition & 1 deletion CTAssetsPickerController/CTAssetsGridViewController.h
Expand Up @@ -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;

@end
Expand Down