• 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: NSOutlineView autosaving of expanded/collapsed state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView autosaving of expanded/collapsed state


  • Subject: Re: NSOutlineView autosaving of expanded/collapsed state
  • From: Keith Duncan <email@hidden>
  • Date: Sun, 24 Feb 2008 23:56:48 +0000

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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOutlineView autosaving of expanded/collapsed state
      • From: "I. Savant" <email@hidden>
References: 
 >NSOutlineView autosaving of expanded/collapsed state (From: Ralph Manns <email@hidden>)

  • Prev by Date: Re: BezierPath issues
  • Next by Date: Re: NSOutlineView autosaving of expanded/collapsed state
  • Previous by thread: Re: NSOutlineView autosaving of expanded/collapsed state
  • Next by thread: Re: NSOutlineView autosaving of expanded/collapsed state
  • Index(es):
    • Date
    • Thread