I've found that programmatically changing the selection using the tree
controller's -setSelectionIndexPath(s): will always send the
NSOutlineViewSelectionDidChangeNotification, you might want to have a
look here
which then send the note. In 10.5 the NSTreeNode has an -indexPath
method, but (AFAIK) there's still not an out-of-the-box way of taking
an arbitrary object in your model and getting its indexPath in the
tree. I've requested an enhancement : rdar://problem/5832408
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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/email@hidden
This email sent to email@hidden