• 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: Unique data in Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unique data in Core Data?


  • Subject: Re: Unique data in Core Data?
  • From: George Orthwein <email@hidden>
  • Date: Wed, 21 Jun 2006 12:39:39 -0400

I do something similar. User drops files onto an NSOutlineView. I grab the file paths to use as unique identifiers to add tabViewItems with initWithIdentifier:. The TabView's selectedIdentifier is bound to the selection.filePath of the outline view (well its arrayController actually) so that selecting an item in the outline view will select the correct tab. Seems sensible to me. :)

If you need a unique string, why not just append the current itemType count (or row number) to a string? E.g. "ItemType1","ItemType2", etc

Hope that helps,
George
_______________________________________________
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: 
 >Unique data in Core Data? (From: Andrew Kinnie <email@hidden>)

  • Prev by Date: Re: [DESESPERATE MODE?] Core Data validation question
  • Next by Date: Re: Unique data in Core Data?
  • Previous by thread: Unique data in Core Data?
  • Next by thread: Re: Unique data in Core Data?
  • Index(es):
    • Date
    • Thread