Did you also bind the table view's Selection Indexes to 
arrayController.selectionIndexes?

On Oct 11, 2011, at 1:44 PM, Andre Masse wrote:

> Hi,
> 
> Here's the background: XCode 4.1, Lion (10.7.1) non CoreData, document based 
> application using the master/detail paradigm.
> 
> I'm currently trying to switch a working project to a view based NSTableView. 
> I think I've set things up correctly in the nib because data is showing fine 
> in the tableView. Particulary, I've bound the tableView content to the 
> arrayController arrangedObjects.
> 
> Now, the problem is the tableView and the arrayController are not in sync. 
> For example, selecting a row in the tableview has no effect on the 
> selectionIndexes in the arrayController. Also, using 
> selectNext/selectPrevious (I have buttons for this in the detail view) 
> doesn't change the selection in the tableView (but is in sync with the model).
> 
> Am I missing something obvious here?
> 
> Thanks,
> 
> Andre Masse
> _______________________________________________
> 
> 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/lrucker%40vmware.com
> 
> This email sent to lruc...@vmware.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

Reply via email to