It is -[NSWorkSpace isFilePackageAtPath:], and works a treat.
cheers,
m.
On 22 Oct 2007, at 13:46, Uli Kusterer wrote:
On 22.10.2007, at 14:35, Martin Redington wrote:
So, given a directory, how can I tell if it is a bundle or not.
I've tried looking at the bundle bit, but in my /Applications
directory, only four .apps seemed to have it turn on.
NSWorkspace has an isFilePackageAtPath method... or maybe it was
NSFileManager.