Yes. Assuming that your object is adopting the KVC/KVO protocol. You can get an array of the properties like:
NSArray *colorList = [carArray valueForKey:@"color"];
Actually, what valueForKey:
method does, is to return an array containing the results of invoking valueForKey:
using key on each of the array's objects. (From Apple's Documentation on NSArray)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…