Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController and TableView



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.

References: 
 >NSArrayController and TableView (From: Alan Donsky <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.