Re: -[NSDocument fileURL] is observable (KVO). Documented?
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