marcoarment / FCModel

An alternative to Core Data for people who like having direct SQL access.
MIT License
1.65k stars 173 forks source link

Non-uniqued NSValueTransformers #113

Closed lickel closed 3 years ago

lickel commented 9 years ago

This exposes an interface for subclasses to provide NSValueTransformers for properties. There are no default transformers and no (public) interface to automatically convert NSDates and the like.

Would this be OK to include? I realize it makes things slightly more difficult to maintain, but it shouldn't have an effect on Overcast and would restore the functionality for those that would like it.

Note: I had to update the test project in order to run/add tests.

Bluezen commented 9 years ago

+1 Works like a charm. For those non familiar with NSValueTransformer (like I was...), this library has a category that makes it very convenient to use: https://github.com/mattt/TransformerKit