• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
newbie core data question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: newbie core data question
      • From: Keary Suska <email@hidden>
  • Prev by Date: getting/setting "check Grammar" in spellchecker panel, without NSTextView
  • Next by Date: NSThread Subclassing problem for Singleton instance
  • Previous by thread: getting/setting "check Grammar" in spellchecker panel, without NSTextView
  • Next by thread: Re: newbie core data question
  • Index(es):
    • Date
    • Thread