Hello, I have a bunch of NSURLs for existing files on the system, and a smaller number of NSRURLs for their enclosing folders. I am looking to determine if a given file is within a given folder, based on their URLs.
Right now I am thinking that I'll have to create the enclosing folder's URL by removing the last component, and then compare that to the folder URL. Is there a better way? Thanks! Rainer_______________________________________________ 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