NSArrayController and NSTableView
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