Re: Bundle, Wrappers, whatever
Re: Bundle, Wrappers, whatever
- Subject: Re: Bundle, Wrappers, whatever
- From: Andrew Salamon <email@hidden>
- Date: Mon, 25 Mar 2002 15:13:12 -0800
Following up my own post.
If I change the extension of one of my package files to .rtfd (at which
point it will act like a package), then change it back again, it continues
to act like a package. Interesting, but not terribly useful for my purposes
:)
Andrew
On Monday, March 25, 2002, at 02:35 PM, Andrew Salamon wrote:
On Wednesday, March 13, 2002, at 11:13 AM, Douglas Davidson wrote:
On Tuesday, March 12, 2002, at 06:37 PM, Sam Goldman wrote:
I know that .rtfd files and .app applications are actually folders
containing other files, but how do I implement my own file. Would that
be a
bundle? The term in its non-programmatic sense would be correct...
...
The other part of the equation is making sure that your packages are
recognized as such by Launch Services and the Finder. There are several
ways to do this, but one thing you will want to do is to give them an
appropriate extension and have your application claim that extension in
its Info.plist. This is all pretty extensively documented, and there are
a host of examples.
Douglas Davidson
Unfortunately, I've been unable to get the 'recognized by Launch
Services and the Finder' part to work. Actually, even my own app shows the
generic folder icon when I open one of these 'package files'.
I created a new document type in the Application Settings, I gave it an
extension, I clicked the 'File Package', and I even gave it an icon. I
tried logging out and back in again. Unfortunately my documents still show
up as normal folders, with no special icon.
What are the other 'several ways to do this'? So far I haven't found
anything that lets you set the 'package flag' (if there is such a thing),
just read it.
Thanks!
Andrew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.