Check out:
http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/chapter_2_section_1.html
Once you get that working, you just have to cache the 'old' snapshot
for your directory tree, and implement a 'diff' to figure out what's
been added, deleted, changed, renamed etc. I use mySQL/sqlLite, which
allows me to figure out what's changed with a few 'Join' statements,
but any store will work in conjunction with NSSets.
On Aug 25, 2008, at 10:21 AM, MAnish Billore wrote:
Hi,
I am developing an image browser in that user can watch photo from
chosen
directory.
In this application I want to give functionality that whenever user
add or
delete any photo from storage media application should know it.
Could any buddy give me idea about it .
_______________________________________________
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 [EMAIL PROTECTED]