Watching a file for changes.
Watching a file for changes.
- Subject: Watching a file for changes.
- From: "Mr. Gecko" <email@hidden>
- Date: Wed, 20 Mar 2013 10:23:24 -0500
How can I watch for file changes? E.G. I open a file in Text Edit, I change the file by adding a few words, I save the file. After the file is saved, I'll like to know it was saved.
I need to know how to do this both in 10.8 and 10.4. E.G. For directories in 10.8, I use FSEventStreamCreate. For directories in 10.4, I use FNSubscribeByPath.
Thanks.
_______________________________________________
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