• 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, data changing from outside the outlineview's events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineview, data changing from outside the outlineview's events


  • Subject: Re: NSOutlineview, data changing from outside the outlineview's events
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Mon, 6 Jun 2005 19:54:51 +0100

Hi Corbin,

I saw those, but I didn't understand them. I don't think I'll understand them without an compilable example.

The items are saved, how? Saved to file, or saved across reloading the data? I'm not sure why what I'm saving needs a name, also. If it was just being saved across reloading of data, then it would all be in RAM, and not need a file name.

On 6 Jun 2005, at 19:39, Corbin Dunn wrote:

I tried reloadData, but that lost all the expansion and selection.


You may want to look into this method below::

--corbin


autosaveExpandedItems - (BOOL)autosaveExpandedItems

Returns whether the expanded items in the receiver are automatically saved.
The outline view information is saved separately for each user and for each application that user uses. Note that if autosaveName returns nil, this setting is ignored, and outline information isn’t saved.
See Also: – autosaveName (NSTableView), – autosaveTableColumns (NSTableView), – setAutosaveExpandedItems:




--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
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


  • Follow-Ups:
    • Re: NSOutlineview, data changing from outside the outlineview's events
      • From: Corbin Dunn <email@hidden>
References: 
 >NSOutlineview, data changing from outside the outlineview's events (From: "Theodore H. Smith" <email@hidden>)
 >Re: NSOutlineview, data changing from outside the outlineview's events (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: NYT confirms rumor of Apple switch to Intel
  • Next by Date: Re: Where to find _objc_insertMethods
  • Previous by thread: Re: NSOutlineview, data changing from outside the outlineview's events
  • Next by thread: Re: NSOutlineview, data changing from outside the outlineview's events
  • Index(es):
    • Date
    • Thread