NSArrayController and programatic add
NSArrayController and programatic add
- Subject: NSArrayController and programatic add
- From: Ryan Glover <email@hidden>
- Date: Thu, 13 Apr 2006 17:18:59 -0400
Hello,
I have a NSMutableArray that I populate programatically. I have a
NSTableView that I want to show the contents of the array. I have
created an NSArrayController to manage the table view but when I add
an item to my array in the program it is not reflected in the table
view. I have read a couple of web pages that suggest you shouldn't
modify the array behind the controllers back.
My question is, should I jettison the NSArrayController and code my
own controller to solve the problem or is it a simple matter to get
NSArrayController to recognize the changes I am making to the array
in the code?
Thank you,
Ryan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden