• 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: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??


  • Subject: Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • From: Graham Cox <email@hidden>
  • Date: Wed, 21 Apr 2010 12:16:41 +1000

From the NSKeyValueObserving Protocol reference:

Deprecated NSKeyValueObserving Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5 and later

setKeys:triggerChangeNotificationsForDependentKey:
Configures the receiver to post change notifications for a given property if any of the properties specified in a given array changes. (required) (Deprecated in Mac OS X v10.5 and later. You should use the methodkeyPathsForValuesAffectingValueForKey: instead.)


--Graham




On 21/04/2010, at 12:10 PM, Steve Cronin wrote:

> Graham;
>
> Directly from the current Apple docs:Key-Value Observing Programming Guide
> No mention of deprecation…

_______________________________________________

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

References: 
 >Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ?? (From: Steve Cronin <email@hidden>)
 >Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ?? (From: Graham Cox <email@hidden>)
 >Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ?? (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • Next by Date: Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • Previous by thread: Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • Next by thread: Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • Index(es):
    • Date
    • Thread