• 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: Modify contents programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController: Modify contents programmatically


  • Subject: Re: NSArrayController: Modify contents programmatically
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 21 Mar 2005 05:13:15 -0800


On Mar 21, 2005, at 5:06 AM, Felix Franz wrote:
I want to change the contents of an array that is managed by an NSArrayController via bindings. Does the Controller recognize insertions and removals on the array properly, even if they are done directly on the array bypassing the NSArrayController (without using NSArrayController>>addObject) ? I use a similar setup in an application. The NSArrayController is used to fill a NSTableView. The content array is changed from the outside. The newly inserted element only shows up, when the TableView is resorted by clicking the column header.

<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
"Programmatic modifications to arrays not noticed by table view"
and also in Apple's documentation at, for example, <http:// developer.apple.com/documentation/Cocoa/Conceptual/KeyValueObserving/ index.html>


mmalc

_______________________________________________
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


References: 
 >NSArrayController: Modify contents programmatically (From: Felix Franz <email@hidden>)

  • Prev by Date: NSArrayController: Modify contents programmatically
  • Next by Date: command line arguments
  • Previous by thread: NSArrayController: Modify contents programmatically
  • Next by thread: command line arguments
  • Index(es):
    • Date
    • Thread