Re: NSTreeController - please help, can't see the forest for the tree controller
Re: NSTreeController - please help, can't see the forest for the tree controller
- Subject: Re: NSTreeController - please help, can't see the forest for the tree controller
- From: Scott Anguish <email@hidden>
- Date: Fri, 24 Jun 2005 17:00:47 -0400
On Jun 24, 2005, at 1:54 PM, Keith Blount wrote:
Many thanks for the reply.
tree controller is a subclass of array controller...
so it should
have arrangedObjects.. but it isnt anywhere near as
simple to deal
with this because there is no way of seeing which
level you are at.
It was my understanding that NSTreeController is a
subclass of NSObjectController, not NSArrayController,
ha, well either way on this I'd have been wrong. You are right,
it is a subclass of object, not array.
tree does have rearrangeObjects though
(and perhaps why arrangeObjects: isn't implemented?).
just a different name
you still need rearrangeObjects for when you change values that
jwould result in sorting.
but again, I still caution you on the results returned by
arrangedObjects.. they're undocumented, you should treat them as
opaque, and could change in the future.
_______________________________________________
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