Fix nullabiilty. You must return an object for every element.

This commit is contained in:
Hedden, Kyle Matthew 2018-09-13 14:24:38 -04:00
parent 05068ec879
commit 2a8bd67f7e

View File

@ -38,6 +38,6 @@
- (nonnull NSString *)stringAtIndex:(NSUInteger)index;
// 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 *) map:(id _Nonnull (^_Nonnull)(id _Nonnull obj))mapBlock;
@end