• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArrayController and TableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

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

  • Prev by Date: How to get non-resolved FSRef from POSIX path
  • Next by Date: What's it called if it's not a controller?
  • Previous by thread: NSArrayController and TableView
  • Next by thread: How to get non-resolved FSRef from POSIX path
  • Index(es):
    • Date
    • Thread