Skip to content

Commit

Permalink
add missing nullability annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-dumit committed Apr 8, 2016
1 parent b6d7a25 commit 670f7b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CTAssetsPickerController/CTAssetCollectionViewCell.h
Expand Up @@ -48,7 +48,7 @@
@property (nonatomic, weak, nullable) UIColor *selectedBackgroundColor UI_APPEARANCE_SELECTOR;


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

@end
2 changes: 1 addition & 1 deletion CTAssetsPickerController/CTAssetThumbnailStacks.h
Expand Up @@ -30,7 +30,7 @@
@interface CTAssetThumbnailStacks : UIView

@property (nonatomic, assign) CGSize thumbnailSize;
@property (nonatomic, copy, readonly) NSArray<CTAssetThumbnailView*> *thumbnailViews;
@property (nonnull, nonatomic, copy, readonly) NSArray<CTAssetThumbnailView *> *thumbnailViews;
@property (nonatomic, assign, readonly) UIEdgeInsets edgeInsets;

- (nonnull CTAssetThumbnailView *)thumbnailAtIndex:(NSUInteger)index;
Expand Down
4 changes: 2 additions & 2 deletions CTAssetsPickerController/CTAssetsGridViewController.h
Expand Up @@ -42,9 +42,9 @@

@interface CTAssetsGridViewController : UICollectionViewController

@property (nonatomic, weak) id<CTAssetsGridViewControllerDelegate> delegate;
@property (nonatomic, weak, nullable) id<CTAssetsGridViewControllerDelegate> delegate;
@property (nonatomic, strong, nonnull) PHAssetCollection *assetCollection;
@property (nonatomic, strong) PHFetchResult *pickFromFetch;
@property (nonatomic, strong, nullable) PHFetchResult *pickFromFetch;


@end

0 comments on commit 670f7b9

Please sign in to comment.