Hi all, I have objects which have numerous properties that are CF types rather than NSObject-derived types, e.g.
@property CGPathRef path; I've just found that these properties can't be accessed using KVC, and in turn that means archiving doesn't work either, since I use KVC to iterate through a set of property keys when archiving. What's a good general way to allow KVC and archiving to work with these properties? Reworking everything to use NSObjects is not really on, since these would still end up wrapping many of the these CF types. I had been assuming that somehow the KVC mechanism knew how to wrap these objects, or otherwise handle them, but no. It makes me wonder how other objects in the system, e.g. CALayer, which have many similar CF type properties, are able to support NSCoding and KVC. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com