On 24 Jun 2010, at 09:35, jonat...@mugginsoft.com 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 (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 arch...@mail-archive.com

Reply via email to