Package Bit
Package Bit
- Subject: Package Bit
- From: Jeff Laing <email@hidden>
- Date: Fri, 3 Mar 2006 09:54:01 +1100
I've been searching for a while now, and I can't find any documentation on
how I programmatically create a simple 'file package' with Cocoa.
ie, one of those folders that has the 'package bit' set (or is it the
hasBundle bit?)
When I looked at FSCatalogInfo, I can't see which fields might contain the
current flags - the finder info is just an anonymous block of integers.
Does someone have some nice simple, cocoa-callable, example code that shows
how to create a package?
As an aside, when I tried just creating a normal folder, then using File
Buddy to set the package bit, and whilst it then works as a package from
NSWorkspace's perspective, it still has the disclosure triangle in the
finders list view, rather than requiring 'Show Package Contents' to peek
inside. So perhaps there's more to it?
Note, I do *not* want a bundle here, I'm wanting to do something similar to
'.rtfd'
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden