Re: Unique data in Core Data?
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