From 2a8bd67f7e33a687501ea9e68922a5177b783ad3 Mon Sep 17 00:00:00 2001 From: "Hedden, Kyle Matthew" Date: Thu, 13 Sep 2018 14:24:38 -0400 Subject: [PATCH] Fix nullabiilty. You must return an object for every element. --- MVMCore/MVMCore/Categories/NSArray+MFConvenience.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/Categories/NSArray+MFConvenience.h b/MVMCore/MVMCore/Categories/NSArray+MFConvenience.h index 73a9c89..667c307 100644 --- a/MVMCore/MVMCore/Categories/NSArray+MFConvenience.h +++ b/MVMCore/MVMCore/Categories/NSArray+MFConvenience.h @@ -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