Skip navigation.
 
mlRe: is part of Bundle?
FROM : Martin Redington
DATE : Tue Nov 06 00:24:20 2007

You could try using -[NSWorkSpace isFilePackageAtPath:], although of 
course you'll have to recurse up the file hierarchy, calling it for 
each parent directory.

You could try caching the results locally if that proves to be a 
problem performance wise.

On 5 Nov 2007, at 11:11, Apparao wrote:

> Its a filePackage
>
> On Nov 5, 2007, at 4:21 PM, Mike Abdullah wrote:
>

>> Do you really mean a bundle, or a file package?
>>
>> On 5 Nov 2007, at 07:42, Apparao wrote:
>>

>>> Hi List,
>>>
>>>     I have to develop a method, which takes a file path as 
>>> parameter. Now my method should do the following are return 
>>> boolean value.
>>>
>>>     It should return TRUE, if the input file is part of a bundle. 
>>> Otherwise NO.    Is there any supporting methods are available in 
>>> existing Cocoa classes?
>>>
>>> Thanks & Regards,
>>> - Apparao.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> Cocoa-dev mailing list (<email_removed>)
>>>
>>> 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/cocoadev%
>>> 40mikeabdullah.net
>>>
>>> This email sent to <email_removed>

>>
>>

>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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/m.redington%
> 40ucl.ac.uk
>
> This email sent to m.<email_removed>
>

Related mailsAuthorDate
mlis part of Bundle? Apparao Nov 5, 08:42
mlRe: is part of Bundle? Mike Abdullah Nov 5, 11:51
mlRe: is part of Bundle? Apparao Nov 5, 12:11
mlRe: is part of Bundle? Martin Redington Nov 6, 00:24