On Wed, Oct 14, 2009 at 4:45 PM, gMail.com <mac.iphone....@gmail.com> wrote: > I need that because the last object selected is the one I represent in the > Inspector panel (instead of "Multiple Selection" which is not editable). So > for example the last object selected has coords x = 30 and y = 50 > and I show these coords on the Inspector.
In that case, you will probably be best served by binding your table view's selectedRowIndexes property to a property on your controller, and having your controller expose a separate property that your inspector uses to determine the object to inspect. You could implement the set delta KVC methods on your controller properties to make your life easier. In the event of multiple things really being selected at once (think Cmd-A), you will still need to make an arbitrary choice. --Kyle Sluder _______________________________________________ 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