• 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: -[NSDocument fileURL] is observable (KVO). Documented?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSDocument fileURL] is observable (KVO). Documented?


  • Subject: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 1 Jun 2010 14:29:48 -0700

On Tue, Jun 1, 2010 at 2:15 PM, Mike Abdullah <email@hidden> wrote:
> By default Cocoa classes use automatic KVO. So long as Cocoa always changes the URL by calling -setFileURL: you will get proper notifications.

This is certainly not the case for a great deal of Cocoa classes,
particularly those which wrap Core Foundation types (NSPrintInfo,
anyone?).

The official word is "if it's not explicitly documented as
KVO-compliant, don't treat it as such."

--Kyle Sluder
_______________________________________________

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: 
 >-[NSDocument fileURL] is observable (KVO). Documented? (From: Jerry Krinock <email@hidden>)
 >Re: -[NSDocument fileURL] is observable (KVO). Documented? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • Next by Date: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • Previous by thread: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • Next by thread: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • Index(es):
    • Date
    • Thread