I would like to know if it is possible to set the properties of an NSObject from an NSDictionary without setting each one individually.
The property names in the NSObject match the key names in the NSDictionary.
Is there an easy way of doing this?.
Assuming the types for the values match, you want to use
- (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValuesNSNull values will be treated as nil.