is there a solution [...] to implement the autosaving of expanded/ collapsed state of an NSOutlineView

I haven't done much work with Core Data so apologies if this won't/ doesn't work: I simply had a look at the headers.

Couldn't you return [[aManagedObject objectID] URIRepresentation] in outlineView:persistentObjectForItem: to save the expanded state. Then restore it by returning [aManagedObjectContext objectWithID: [aPersistentStoreCoordinator managedObjectIDForURIRepresentation:URI]] from outlineView:itemForPersistentObject:?

Keith
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to