nullable fixes

This commit is contained in:
Chris Yang 2018-09-12 09:12:15 -04:00
parent 8b58dcf1ce
commit e56f429834

View File

@ -40,7 +40,7 @@
// Maps this array to a new array of T objects given a conversion block. Objective-C implementation of Swift's map. https://developer.apple.com/documentation/swift/array/2908681-map
- (nonnull NSArray *)map:(id _Nullable (^_Nonnull)(id _Nonnull obj))mapBlock;
- (nonnull NSArray *)filter:(BOOL (^_Nullable)(id _Nonnull obj))block;
- (nonnull id)reduce:(nonnull id)initial block:(id (^_Nullable)(id _Nonnull obj1, id obj2))block;
- (NSArray *_Nullable)flatMap:(id (^_Nonnull)(id obj))block;
- (nonnull id)reduce:(id _Nonnull)initial block:(id _Nonnull (^_Nonnull)(id _Nonnull obj1,id _Nonnull obj2))block;
- (nullable NSArray *)flatMap:(id _Nullable (^_Nonnull)(id _Nullable obj))block;
@end