• 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
Re: [Q] "auto"-incrementing integer attribute in awakeFromInsert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] "auto"-incrementing integer attribute in awakeFromInsert


  • Subject: Re: [Q] "auto"-incrementing integer attribute in awakeFromInsert
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 06 Apr 2009 11:48:03 -0700


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@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


  • Prev by Date: Re: Non-pageable app
  • Next by Date: Re: [Q] "auto"-incrementing integer attribute in awakeFromInsert
  • Previous by thread: RE: [Q] "auto"-incrementing integer attribute in awakeFromInsert
  • Next by thread: SQLite and Unicode
  • Index(es):
    • Date
    • Thread