• 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
Re: View based NSTableView and NSArrayController not in sync
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View based NSTableView and NSArrayController not in sync


  • Subject: Re: View based NSTableView and NSArrayController not in sync
  • From: Lee Ann Rucker <email@hidden>
  • Date: Tue, 11 Oct 2011 13:49:51 -0700

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 (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

_______________________________________________

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: Andre Masse <email@hidden>
References: 
 >View based NSTableView and NSArrayController not in sync (From: Andre Masse <email@hidden>)

  • Prev by Date: View based NSTableView and NSArrayController not in sync
  • Next by Date: Re: View based NSTableView and NSArrayController not in sync
  • Previous by thread: View based NSTableView and NSArrayController not in sync
  • Next by thread: Re: View based NSTableView and NSArrayController not in sync
  • Index(es):
    • Date
    • Thread