NSArray containsObject Aug 29th, 2015 10:55 am 检测数据中是否包含指定的对象元素 - (BOOL)containsObject:(id)anObject; [array containsObject:@"tom"]; YES