Skip navigation.
 
mlRe: Unique data in Core Data?
FROM : George Orthwein
DATE : Wed Jun 21 18:39:39 2006

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

Related mailsAuthorDate
mlUnique data in Core Data? Andrew Kinnie Jun 21, 17:38
mlRe: Unique data in Core Data? George Orthwein Jun 21, 18:39
mlRe: Unique data in Core Data? Paul Collins Jun 21, 18:57