• 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: Create a folder as a package/bundle ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create a folder as a package/bundle ...


  • Subject: Re: Create a folder as a package/bundle ...
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 3 Apr 2009 12:11:19 -0400
  • Organization: Rogue Research Inc.

On 4/3/09 12:07 PM, I. Savant said:

>> One thing you should do is set the bundle bit of your folder.  You can
>> use the MoreFilesX sample code, and call:
>>
>>  FSChangeFinderFlags (&theFsRef, true, kHasBundle);
>
>  I don't think this will work on its own, but I could be wrong. Can
>you verify this?

It works.  Every app that creates packages should set the bundle bit on
all packages, always.  Few do.  If you don't set the bundle bit and the
application is not on any of your disks, the Finder will show a folder.

Ever install a fresh system (with no Xcode) and navigate to a folder
with an .xcodeproj?  It will appear as a folder because Xcode doesn't
set the bundle bit.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: Create a folder as a package/bundle ...
      • From: "I. Savant" <email@hidden>
References: 
 >Create a folder as a package/bundle ... (From: Mic Pringle <email@hidden>)
 >Re: Create a folder as a package/bundle ... (From: "Sean McBride" <email@hidden>)
 >Re: Create a folder as a package/bundle ... (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: hung in read$UNIX2003
  • Next by Date: Re: Create a folder as a package/bundle ...
  • Previous by thread: Re: Create a folder as a package/bundle ...
  • Next by thread: Re: Create a folder as a package/bundle ...
  • Index(es):
    • Date
    • Thread