Rightpoint / RZImport

Automatic importing of data from NSDictionary to Cocoa objects
Other
18 stars 6 forks source link

documented method missing from implementation #23

Closed SteveCaine closed 9 years ago

SteveCaine commented 9 years ago

The ReadMe file say existing objects can be updated on import by calling the instance method '-rzi_updateFromDictionary:' on those objects, but no such method exists in the current implementation. (The missing method is described in the paragraph just before the heading 'Custom Mappings'.)

Existing objects will be updated if the user implements the class method '+ rzi_existingObjectForDict:' on the objects' class(es), but this requires the user to track such objects instead of letting existing objects identify themselves by calling the missing instance method.

ndonald2 commented 9 years ago

The actual method is - (void)rzi_importValuesFromDict:(NSDictionary *)dict;. #24 fixes the docs.

SteveCaine commented 9 years ago

Excellent! Updating my code to use it now.