• 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
NSArrayController and NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController and NSTableView


  • Subject: NSArrayController and NSTableView
  • From: R <email@hidden>
  • Date: Mon, 19 Sep 2011 17:00:31 -0700 (PDT)

I find that in order for my NSTableView to update when bound to an
NSArrayController, I have to add objects to the array vis the
NSArrayController.  This works great if the window, tableview, and
arraycontroller are all part of the same class.

Question:

Can I have a tableView in one class, bound to an arraycontroller in a
different class.  I would prefer to keep my arraycontroller in the
same class as my array, but have need to put a tableview on views
associated with another class.

I can't find an elegant way to accomplish this seemingly simple need.

R
_______________________________________________

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: NSArrayController and NSTableView
      • From: Keary Suska <email@hidden>
    • Re: NSArrayController and NSTableView
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: How to get the exact location and range for an Attachment present in NSTextView
  • Next by Date: Re: NSArrayController and NSTableView
  • Previous by thread: Re: How to get the exact location and range for an Attachment present in NSTextView
  • Next by thread: Re: NSArrayController and NSTableView
  • Index(es):
    • Date
    • Thread