• 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: Core-Data, can you issue an NSrequest from awakefrominsert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core-Data, can you issue an NSrequest from awakefrominsert


  • Subject: Re: Core-Data, can you issue an NSrequest from awakefrominsert
  • From: R Dearlove <email@hidden>
  • Date: Tue, 25 Apr 2006 07:13:51 +0100

I'm writing a receipts/invoice recording app.
Each receipt or invoice needs a unique # for auditing purposes.

It is great that core-data does all the joins. I was using a mysql wrapper, but it involved so much more work to get going.

Richard

On 25 Apr 2006, at 00:58, Chris Hanson wrote:

On Apr 24, 2006, at 1:08 PM, R Dearlove wrote:

Thanks for that. It seems I will have to subclass the array controller and put some code in there. I tried the delayed selector calling method shown on the page, but that crashes my app.
It's a shame that there isn't an auto-inc field type in coredata.

Out of curiosity, what would you like to use an auto-incrementing attribute for?


Core Data supports managed object IDs for your objects automatically, eliminating the need to perform your own primary key management. Core Data also handles relationships for you automatically, eliminating the need to perform your own with relationship management via foreign keys and joins.

  -- Chris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Core-Data, can you issue an NSrequest from awakefrominsert (From: Richard Dearlove <email@hidden>)
 >Re: Core-Data, can you issue an NSrequest from awakefrominsert (From: Wain <email@hidden>)
 >Re: Core-Data, can you issue an NSrequest from awakefrominsert (From: R Dearlove <email@hidden>)
 >Re: Core-Data, can you issue an NSrequest from awakefrominsert (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: FYI: Cocoa's framework scaling works great!
  • Next by Date: NSTreeController and NSBrowser multiple selection
  • Previous by thread: Re: Core-Data, can you issue an NSrequest from awakefrominsert
  • Next by thread: OT cocoa groups in NYC
  • Index(es):
    • Date
    • Thread