• 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
KVO and arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KVO and arrays


  • Subject: KVO and arrays
  • From: kelvSYC <email@hidden>
  • Date: Sun, 02 Jan 2005 22:48:31 -0700

Suppose I have manual notification of a to-many key foo in my class (ie. it uses indexed accessors). I have a method -bar that radically alters foo ("elements" may be added, removed, or changed programatically). I'm confused whether I should call (in -bar) -will/didChangeValueForKey or willChange:valuesAtIndexes:forKey:, and if the latter, what the first parameter should be.

_______________________________________________
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


  • Follow-Ups:
    • Re: KVO and arrays
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: 2 problems.
  • Next by Date: NSTableView question
  • Previous by thread: Re: 2 problems.
  • Next by thread: Re: KVO and arrays
  • Index(es):
    • Date
    • Thread