On Mar 26, 2014, at 3:14 PM, Torsten Curdt <tcu...@vafer.org> wrote:

> Going through a NSTreeController feels like cracking a nut with a 
> sledge-hammer.
> Then I would rather roll my own.
> 
> There is really no other way?

You could make your objects subclasses of NSTreeNode, and use its 
-mutableChildNodes property to store the children instead of naked arrays. 
Then, you could use -descendantNodeAtIndexPath: on the root node.

Charles


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to