I\'ve got an array of UITextField objects called _fields. I want to be able to message them all at once to set them to be highlighted,
rmaddy's answer explains why using makeObjectsPerformSelector:withObject: won't work.
You can do this most succinctly by using KVC:
[fields setValue:@NO forKey:@"hidden"];
This works because NSArray passes the setValue:forKey: message through to each of its elements, and KVC properly unwraps the boxed value when the property's type is primitive.