• 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: Setting 'is package' bit when building a plug-in bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting 'is package' bit when building a plug-in bundle?


  • Subject: Re: Setting 'is package' bit when building a plug-in bundle?
  • From: Michael Vannorsdel <email@hidden>
  • Date: Fri, 6 Mar 2009 21:02:05 -0700

Use FSSetCatalogInfo and set the finderInfo (interpreted as a FolderInfo struct) and add the kHasBundle bit to the finderFlags of the FolderInfo.


On Mar 6, 2009, at 8:31 PM, Graham Cox wrote:

'm implementing a plug-in scheme based on Rainer Brockerhoff's design at http://cocoadevcentral.com/articles/000068.php

So far it's working fine, but I decided I wanted to use a particular extension for my plug-in files. When I do that, the bundles revert to looking like ordinary folders in the Finder, and can be simply opened like any folder.

How can I set the 'package' setting when I build my bundle project so that it's treated as a single package? I can't see a build setting for doing this in the project, and simply adding 'LSTypeIsPackage' to my bundle's info.plist has no effect.

_______________________________________________

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: Setting 'is package' bit when building a plug-in bundle?
      • From: Michael Vannorsdel <email@hidden>
References: 
 >Setting 'is package' bit when building a plug-in bundle? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Extreme Crashing from QT Movie Layers in Core Animation
  • Next by Date: Re: Setting 'is package' bit when building a plug-in bundle?
  • Previous by thread: Setting 'is package' bit when building a plug-in bundle?
  • Next by thread: Re: Setting 'is package' bit when building a plug-in bundle?
  • Index(es):
    • Date
    • Thread