• 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: Jerry Krinock <email@hidden>
  • Date: Wed, 2 Jun 2010 04:37:11 -0700

On 2010 Jun 02, at 02:15, Mike Abdullah wrote:

> er, I meant just override -setFileURL: to post a notification.

But that doesn't solve the possibility of some future OS release changing fileURL in a non-KVO-compliant manner when another process changes the path of this document.  Not likely, I realize.

But anyhow, I realized later that I also need to watch the *contents* of this file (like BBEdit automatically reloads when a file on disk changes), so I'm dusting off my kqueue code anyhow.

Thanks for the ideas, all.


_______________________________________________

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>)
 >Re: -[NSDocument fileURL] is observable (KVO). Documented? (From: Kyle Sluder <email@hidden>)
 >Re: -[NSDocument fileURL] is observable (KVO). Documented? (From: Mike Abdullah <email@hidden>)
 >Re: -[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: ANN: Syntax highlighting editor view
  • Next by Date: Re: ANN: Syntax highlighting editor view
  • Previous by thread: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • Next by thread: Re: -[NSDocument fileURL] is observable (KVO). Documented?
  • Index(es):
    • Date
    • Thread