• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
View based NSTableView and NSArrayController not in sync
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: View based NSTableView and NSArrayController not in sync
      • From: Lee Ann Rucker <email@hidden>
  • Prev by Date: Re: Quandary : NSAppleScript ties up main thread
  • Next by Date: Re: View based NSTableView and NSArrayController not in sync
  • Previous by thread: Re: How to get mount options of a mounted volume
  • Next by thread: Re: View based NSTableView and NSArrayController not in sync
  • Index(es):
    • Date
    • Thread