NSArrayController Frustration
NSArrayController Frustration
- Subject: NSArrayController Frustration
- From: David Carlisle <email@hidden>
- Date: Sat, 24 Nov 2007 18:58:05 -0700
I have an NSMutableArray called docArray which is bound with Interface
Builder to an NSArrayController (Content Array (File's
Owner.docArray)) to which is bound an NSTableView. The File's owner
is a subclass of NSWindowController. I am expecting that when I do
[docArray addObject:x] that the array controller will observe the
change and do a reloadData on the NSTableView. That isn't happening.
I can't just use addObject: from the array controller, because the
NSWindowController and its window, etc, will not always be open, and
docArray doesn't reside within the NSWindowController.
What do I need to do here?
_______________________________________________
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