The problem is, I don't know how to determine to which row that newly-added object corresponds in the table view.

If you're targeting Leopard, you can force the tree controller to - fetch: (so it's updated) then I believe you can ask the outline view for its -rowForItem: ... if you're targeting Tiger, it's not as straightforward due to proxy objects.

I suppose it's the current-selected row, since it's set up to select on add.

 That's one way, so long as you force a fetch first.

--
I.S.


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to