• 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: Restoring a NSTreeController selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restoring a NSTreeController selection


  • Subject: Re: Restoring a NSTreeController selection
  • From: Keith Duncan <email@hidden>
  • Date: Thu, 24 Jun 2010 09:56:46 +0100

On 24 Jun 2010, at 09:35, email@hidden wrote:

> 1. NSTreeController items are subclasses of NSTreeNode (see the 10.5 release notes).

This isn't strictly true, from the docs:

"In Leopard, the arrangedObjects method returns a proxy that responds to the NSTreeNode methods"

In Leopard the arranged objects weren't actually NSTreeNodes, they simply conform to the interface of it. The implication being that you can't add category methods to NSTreeNode and call them on the return value of -[NSTreeController arrangedObjects]. This is filed as rdar://problem/5438559

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: Restoring a NSTreeController selection
      • From: "email@hidden" <email@hidden>
References: 
 >Restoring a NSTreeController selection (From: Markus Spoettl <email@hidden>)
 >Re: Restoring a NSTreeController selection (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Restoring a NSTreeController selection
  • Next by Date: Re: Restoring a NSTreeController selection
  • Previous by thread: Re: Restoring a NSTreeController selection
  • Next by thread: Re: Restoring a NSTreeController selection
  • Index(es):
    • Date
    • Thread