• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forcing the package bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing the package bit


  • Subject: Re: Forcing the package bit
  • From: Graham Cox <email@hidden>
  • Date: Tue, 2 Mar 2010 13:34:35 +1100

On 02/03/2010, at 1:04 PM, Neil Allain wrote:

>
> On Mar 1, 2010, at 7:14 PM, Graham Cox wrote:
>
>> I need to write a package file that is not listed as one of my document types. How do I ensure that this will be seen as a package in the Finder? It looks to me as though some new flags were added to NSURL to cover this but the code needs to work on 10.5 or later.
>>
>
> This solution works fine:
>
> http://stackoverflow.com/questions/2009687/make-mac-package-bundle-programmatically
>
> I didn't know about the NSURL method, I'll have to check it out.
>
> Neil
>


Thanks, though it doesn't compile. What the hell is:

        union FinderInfoTransmuter finderInfoPointers = { .bytes = catInfo.finderInfo };

??

--Graham


_______________________________________________

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

  • Follow-Ups:
    • Re: Forcing the package bit
      • From: Graham Cox <email@hidden>
References: 
 >Forcing the package bit (From: Graham Cox <email@hidden>)
 >Re: Forcing the package bit (From: Neil Allain <email@hidden>)

  • Prev by Date: Re: IsReadableFileAtPath
  • Next by Date: Re: Forcing the package bit
  • Previous by thread: Re: Forcing the package bit
  • Next by thread: Re: Forcing the package bit
  • Index(es):
    • Date
    • Thread