jeffh / Hydrant

A simple data mapper / object serializer for objective-c
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

Add Reflection-Based KVC Mapper #4

Closed jeffh closed 10 years ago

jeffh commented 10 years ago

Use the objc/runtime to categories mappings that can be utilize based on the destination object's property types.

Also add a mechanism to "register" mappers. For example:

[HYDInspectMapper registerMapperClass:[HYDStringToDateMapper class] forType:[NSDate class]];

which should allow multiple mappers using HYDFirst

More hammock time required.