• 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
Automatic Key-Value Observing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatic Key-Value Observing


  • Subject: Automatic Key-Value Observing
  • From: Joannou Ng <email@hidden>
  • Date: Tue, 18 Nov 2003 17:59:19 -0500

Hello all,

Correct me if I'm wrong. It seems automatic key-value observing when calling accessor methods only works if your accessor methods take parameters. For instance, the following when called doesn't invoke automatic key-value observing:

- (void)setName

Whereas, the following when called will invoke automatic key-value observing:

- (void)setName:(NSString *)newName

I hope I'm wrong.

Cheers, Joannou.

There is no energy crisis, food crisis, or environmental crisis. There is only a crisis of ignorance. - R. Buckminster Fuller
_______________________________________________
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.
  • Follow-Ups:
    • Re: Automatic Key-Value Observing
      • From: Chris Hanson <email@hidden>
    • Re: Automatic Key-Value Observing
      • From: mmalcolm crawford <email@hidden>
    • Re: Automatic Key-Value Observing
      • From: James Dempsey <email@hidden>
  • Prev by Date: Re: XCode and tabbing
  • Next by Date: Re: NSNumber pointerValue
  • Previous by thread: Re: XCode and tabbing
  • Next by thread: Re: Automatic Key-Value Observing
  • Index(es):
    • Date
    • Thread