[self.arrEmail removeAllObjects];
self.arrEmail = [[NSMutableArray alloc]init];
for (NSDictionary *object in [dictionary valueForKey:@"heroes"]) {
NSString *objectName = object[@"user_email"];
[self.arrEmail addObject:objectName];
}
我的应用程序在这些代码行崩溃。 Xcode说
[__NSArrayI objectForKeyedSubscript:]: unrecognized selector sent to instance.
有人可以帮忙吗?