• 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: Modifying the array of an NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying the array of an NSArrayController


  • Subject: Re: Modifying the array of an NSArrayController
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 7 Nov 2003 12:53:52 -0500

On Nov 6, 2003, at 7:07 PM, Henrik Wittland wrote:

P.S.: Scott , you can't observe the file's owner or an array. you can only observe properties. You can't observe
an array by it self, but you can observe a property which returns an array. Only to get things right :-)
You always need a key/keyPath to observe something.


Yes, I guess I wasn't clear enough.

I was suggesting that an observer be registered on the object that was the file's owner (likely a MyDocument instance) with the keypath for the array.
_______________________________________________
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: 
 >Modifying the array of an NSArrayController (From: René Puls <email@hidden>)
 >Re: Modifying the array of an NSArrayController (From: Henrik Wittland <email@hidden>)
 >Re: Modifying the array of an NSArrayController (From: René Puls <email@hidden>)
 >Re: Modifying the array of an NSArrayController (From: Scott Anguish <email@hidden>)
 >Re: Modifying the array of an NSArrayController (From: Henrik Wittland <email@hidden>)

  • Prev by Date: Re: Controller Layer + array count + NSOutlineView
  • Next by Date: Re: Parameter lists
  • Previous by thread: Re: Modifying the array of an NSArrayController
  • Next by thread: Disabling the Run <appname> window in XCode
  • Index(es):
    • Date
    • Thread