• 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: Listening for changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Listening for changes


  • Subject: Re: Listening for changes
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 20 Dec 2008 00:24:08 +0000

Since you apparently want to just know that one of the fields changed, but not which one specifically, why not just have the class post an NSNotification called MyClassDidChange or similar?

Mike.

On 19 Dec 2008, at 17:06, Andre Masse wrote:

Let's say I have a class (called it Client) that has 25 fields and need to be notified when any of these is modified. Do I have to do - observeValueForKeyPath for each of the 25 fields?

Thanks,

Andre Masse

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Listening for changes
      • From: Andre Masse <email@hidden>
References: 
 >Listening for changes (From: Andre Masse <email@hidden>)

  • Prev by Date: Drawing in a NSView out side of drawRect
  • Next by Date: Re: Newbie Question: implementing a stack
  • Previous by thread: Re: Listening for changes
  • Next by thread: Re: Listening for changes
  • Index(es):
    • Date
    • Thread