Why is my transformable Core Data attribute not using my custom NSValueTransformer?

后端 未结 6 611
故里飘歌
故里飘歌 2020-11-27 17:08

I have a Core Data app with a fairly simple data model. I want to be able to store instances of NSImage in the persistent store as PNG Bitmap NSData objects, to save space.<

6条回答
  •  情歌与酒
    2020-11-27 17:58

    It turns out that this is actually a bug in the frameworks. See this post by an Apple employee on the Cocoa-Dev mailing list:

    http://lists.apple.com/archives/Cocoa-dev/2009/Dec/msg00979.html

提交回复
热议问题