On Mar 18, 2009, at 8:52 AM, Jon C. Munson II wrote:

I'm having a little trouble getting a self-incrementing attribute to work in
the awakeFromInsert override.

What do you want to do with this attribute?

When using Core Data, you don't need to define your own primary or foreign keys. Every object has an object ID that acts conceptually as its primary key and is maintained for you by Core Data. Relationship maintenance is similarly handled for you by Core Data.

  -- Chris

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to