Re: NSFileWrapper
Re: NSFileWrapper
- Subject: Re: NSFileWrapper
- From: Chris Ridd <email@hidden>
- Date: Sun, 05 Jun 2016 07:14:03 +0100
> On 4 Jun 2016, at 23:02, Daryle Walker <email@hidden> wrote:
>
>> On Jun 4, 2016, at 12:18 PM, Peter Hudson <email@hidden> wrote:
>>
>> Hi Mike
>>
>> You're right - I want the behaviour of a package. Do you happen to know how I can achieve it? I had presumed it might be some mix of flag setting at system level. If for example i set the extension on an NSFileWrapper to .bundle i get some of what I need - but I cant find out how to get an icon of my choosing associated with it.
>
> You’ll have to work at it; it won’t be completely transparent to your users to experience nor you to program.
>
> The “.bundle” extension is already in use for system plug-ins. You have to come up with a new extension. For instance, if you’re already using “.xyz” for you single-file format, you could use “.xyz-pkg” for your package format.
Are you sure that’s true? Apps like OmniGraffle have a flat file format *and* a bundle format, both using the .graffle extension. In OmniGraffle Pro's document inspector you can switch between formats.
If you have the app or a demo you can investigate its Info.plist.
Chris
_______________________________________________
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