View based NSTableView and NSArrayController not in sync
View based NSTableView and NSArrayController not in sync
- Subject: View based NSTableView and NSArrayController not in sync
- From: Andre Masse <email@hidden>
- Date: Tue, 11 Oct 2011 16:44:56 -0400
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 (email@hidden)
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:
This email sent to email@hidden