开发者

Transformable Type and NSValueTransformer executing

If you extend NSManagedObject or you use a static method to instantiate your Model class or you set your NSPersistentStoreCoordinator type to NSInMemoryStoreType will your NSValueTransformer cl开发者_如何学编程ass still execute?


The answer was if the persistent store type is set to NSInMemoryStoreType your NSValueTransformer that you setup in Core Data will not get executed.

Hope this helps someone. If you find this in any doc or have an answer why this is so please post it here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜