Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monitoring file system



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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >monitoring file system (From: "MAnish Billore" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.