• 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: Access to NSArrayController's NSMutableArray?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access to NSArrayController's NSMutableArray?


  • Subject: Re: Access to NSArrayController's NSMutableArray?
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 19 Jan 2004 19:31:18 +0100

Am 19.01.2004 um 18:37 schrieb Dave Sopchak:

Is there any elegant way to get a particular object out of NSArrayController?

I haven't actually used bindings and controllers yet, but I'm quite sure you are not supposed to change any data in the controller. Update your model data instead using the usual set methods and the controller should pick up the change automatically.

The "Cocoa Bindings" documentation says:

"You do need to know that invoking a models set method triggers the change messages to all dependent views. If you ever need to update views programmatically, be sure to use the set methods. Invoking some other method that updates the property or accessing an instance variable directly may not trigger these change messages."

http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/index.html


bye. Andreas.
_______________________________________________
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: 
 >Access to NSArrayController's NSMutableArray? (From: Dave Sopchak <email@hidden>)

  • Prev by Date: Re: NSTextView How do you turn off line wrap?
  • Next by Date: Re: Access to NSArrayController's NSMutableArray?
  • Previous by thread: Access to NSArrayController's NSMutableArray?
  • Next by thread: Re: Access to NSArrayController's NSMutableArray?
  • Index(es):
    • Date
    • Thread