Re: Programatically identifying bundles and frameworks?
Re: Programatically identifying bundles and frameworks?
- Subject: Re: Programatically identifying bundles and frameworks?
- From: "I. Savant" <email@hidden>
- Date: Wed, 17 Oct 2007 16:28:23 -0400
On 10/17/07, Karan, Cem (Civ, ARL/CISD) <email@hidden> wrote:
> Hi all, I am working on an application that is designed to help a user
> clean up their disk space by identifying identical and near-identical
> files (in case they've decided to make backups, and forgot that they
> had). The only problem I'm running into is handling bundles and
> frameworks; I want to be able to identify that I'm walking into a bundle
> or framework, and treat the entire thing as a single unit. Is there a
> programmatic way of doing this, something along the lines of +(Bool)
> isBundle:(NSString *) canonicalPathToDirectory;?
In the case of frameworks, have you considered checking for the
".framework" extension? :-) I know it's incredibly simplistic, but
......
--
I.S.
_______________________________________________
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