On 1 Jun 2010, at 23:25, Jerry Krinock wrote: > > On 2010 Jun 01, at 15:07, Mike Abdullah wrote: > >> I'd advise subclassing to add your own notification posting code. > > Yuck. Unless someone knows a better way, that means setting up either a > kqueue or FSEvents thingy for the document to watch its own path. Does > anyone know an easier way? Because of the way that a document window's title > changes instantly when its file is moved in Finder, apparently Apple has this > already built in to NSDocument. Does anyone know how to hook into that, > ahead of setFileURL:?
er, I meant just override -setFileURL: to post a notification. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com