You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (input == nil) {
return nil;
}
if ([input isKindOfClass:[NSString class]]) {
return input;
}
// did we end up with an array? multi-select data
if ([input isKindOfClass:[NSArray class]]) {
// if it is an array of strings we can't map on that
if ([((NSArray *)input).firstObject isKindOfClass:[NSString class]]) {
return input;
}
NSMutableArray *keys = [NSMutableArray array];
for (id i in (NSArray *)input) {
[keys addObject:[i valueForKeyPath:keyPath]]; // <-------------------- Failed to compile
}
return [keys copy];
}
id value = [input valueForKeyPath:keyPath];
return value;
}];
}
The text was updated successfully, but these errors were encountered:
Demo projects compile failed at : EZFormValueTransformer.m:63:33:
Does anyone have the same issue?
(instancetype)valueTransformerWithKeyPath:(NSString *)keyPath
{
return [self valueTransformerWithBlock:^id(id input) {
}];
}
The text was updated successfully, but these errors were encountered: