Thanks all, itemForRow was the missing piece of the puzzle. Now this thing makes sense..
>> At the time you call -selectedRowIndexes, you should then extract the items >> corresponding to those indexes from your data model (e.g. using [NSArray >> objectsAtIndexes:]) before the user has a chance to change the arrangement. > > Actually I just call -itemForRow: to convert each row index to an object. > That way the code for that isn’t dependent on how my data source works. _______________________________________________ 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