If a user drags 3 Finder objects to my "file processor" app... DirectoryA FileA FileB
And FileA is in the directory tree below DirectoryA, what is the best way to avoid processing the file twice? When I get the array of paths in my drop handler, when I see the directory, I use EnumeratorAtPath to process the tree, but don't want to re-process files. This becomes a real issue if someone drops DirectoryA and DirectoryB if DirectoryB is in the tree below DirectoryA... Since a bunch of files could be re-processed. Do I just need to keep a temporary array of paths that I have processed and search it for each file... Could be a lot of searching if the user drops the entire Documents folder. Thoughts? Trygve _______________________________________________ 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