newbie core data question
newbie core data question
- Subject: newbie core data question
- From: Oftenwrong Soong <email@hidden>
- Date: Mon, 12 Jul 2010 12:14:42 -0700 (PDT)
My managed classes need non-standard persistent attributes, such as CGPoint.
Possibly, I'll need other C structs or enums as well.
The Core Data Programming Guide section about non-standard persistent attributes
(link below) says there are two ways to go about this: transformable attributes
and transient properties. The introductory paragraph gives me the impression
that transformable attributes are the preferred method. Unfortunately, the
section that describes that technique seems very short on details.
Do transformable attributes work only for object types or do they work for C
structs and enums as well?
Any pointers to some how-to info would be greatly appreciated.
Link to the above-mentioned document:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html
Thank you much,
Soong
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden