On Oct 15, 2013, at 12:53 AM, Charles Srstka <[email protected]> wrote:
> I've found that it's far more efficient to recurse *up* the NSTreeNode > hierarchy — e.g. start with the object you're looking for, then look at its > parent, then its grandparent, etc. until you end up at the root. But I don’t have an NSTreeNode at all. I have a model object, and I’m trying to find the tree node that corresponds to it. If I already had an NSTreeNode I would just get its indexPath property; problem solved, no recursion needed. —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
