nathanday / ndjson

Objective-C JSON parser
1 stars 0 forks source link

A way for object to have all their properties set a once could be useful in some situations #33

Open nathanday opened 11 years ago

nathanday commented 11 years ago

Could look for an initWithJSONProperties: method or jsonDeserializer:setJSONProperties. Or could use the key value coding method setValuesForKeysWithDictionary:. Probable better to do an init method because the may reason this would be needed is when you need the properties at initialisation time for things like cluster classes.

nathanday commented 11 years ago

Could extend the delegate method for creating objects, or alternatively allow users to supply a class method on the target class.