Hi,
I'm transitioning my app from using a NSOutlineView data source to
NSTreeController.
I want to start editing a row programmatically, so I need to call
editColumn:row:withEvent:select:, but then I need the row index. I can
get that with rowForItem:, but as far as the NSOutlineView is
concerned, it deals with NSTreeNodes. So I need a way to get the
NSTreeNode for a given object.
+ treeNodeWithRepresentedObject: doesn't help since it creates a new
node.
This seems like something that should be easy, but I can't figure it
out.
Thanks,
Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/
_______________________________________________
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