Re: NSArrayController and TableView
Re: NSArrayController and TableView
- Subject: Re: NSArrayController and TableView
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 26 Jan 2004 20:21:49 -0800
On Jan 26, 2004, at 7:07 PM, Alan Donsky wrote:
I have set up an NSArrayController to control the display of a table
column. It works ok, the only problem is when i add an item to the
array.
I do this programatically, not through the add: method of the
controller.
After i add an item to the array, nothing happens. The table view is
not updated.
However, if i click on the column header, then the new items appear.
I just want changes i make in the model (mutable array) to
automatically and instantaneously appear in the table view.
This has been covered several times before, see:
<
http://cocoa.mamasam.com/>
and
<
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.