On 06/02/2009, at 11:06 AM, Randall Meadows wrote:
So, it seems like I need to try to get the actual *object* pointed to by the index path and see if there is a valid object there, but I can't figure out how to do that, either from the NSOutlineView or its backing NSTreeController.
This will give you the "real" object at a particular index path for an NSTreeController instance:
[[[treeController arrangedObjects] descendantNodeAtIndexPath:indexPath] representedObject];
-- Rob Keniger _______________________________________________ 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