• 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 initial expanded status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView initial expanded status


  • Subject: Re: NSOutlineView initial expanded status
  • From: Steven Kramer <email@hidden>
  • Date: Mon, 23 May 2005 22:20:23 +0200


Op 23-mei-05 om 21:17 heeft Pablo Bendersky het volgende geschreven:

Hello,
I have an NSOutlineView with a DataSource, and some of the items have
an initial status of opened while others have an initial status of
closed.
How can I make NSOutlineView respect that status?
By default, the outline view will display every item collapsed, but I
did not found a proper way to make it expand the items that are saved
as expanded in the data source.


Pablo, you need to implement some more optional datasource methods. I think you need to read this:


<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSOutlineView.html#//apple_ref/doc/ uid/20000110-setAutosaveExpandedItems_>


Regards,

Steven Kramer

--
email@hidden
http://www.sprintteam.nl/

_______________________________________________
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


References: 
 >NSOutlineView initial expanded status (From: Pablo Bendersky <email@hidden>)

  • Prev by Date: Re: How to get an NSWindow from an NSDocument?
  • Next by Date: Re: ~/library/application support/myapp directory creation
  • Previous by thread: NSOutlineView initial expanded status
  • Next by thread: Re: Very simple - UNIX like - filename expansion?
  • Index(es):
    • Date
    • Thread