• 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: Correct way to tell if a path is to a .bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct way to tell if a path is to a .bundle?


  • Subject: Re: Correct way to tell if a path is to a .bundle?
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 25 Sep 2009 11:52:40 -0400
  • Organization: Rogue Research Inc.

On 9/25/09 8:12 AM, Jens Alfke said:

>> Thanks Jens. If I create a custom extension for my plugins (not even
>> sure I can do that), will this still work?
>
>Yup, as long as you declare the extension properly in your Info.plist
>and indicate that it's a bundle.

Of course that requires that your Info.plist be present for Launch
Services to consult.  So while you should absolutely do as Jens says,
you should additionally set the bundle bit for packages you create.  See
'man SetFile'.  SetFile -a B /path/to/package.  Many apps fail to do
this.  Ever noticed that after a fresh OS install the Finder
shows .xcodeproj packages as folders?  That's why.

--
____________________________________________________________
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: Correct way to tell if a path is to a .bundle?
      • From: Jens Alfke <email@hidden>
    • Re: Correct way to tell if a path is to a .bundle?
      • From: Rick Mann <email@hidden>
References: 
 >Correct way to tell if a path is to a .bundle? (From: Rick Mann <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: Jens Alfke <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: Rick Mann <email@hidden>)
 >Re: Correct way to tell if a path is to a .bundle? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSTableView Drag & Drop as a string
  • Next by Date: Re: Subclass of NSView not responding to mouseDown event
  • Previous by thread: Re: Correct way to tell if a path is to a .bundle?
  • Next by thread: Re: Correct way to tell if a path is to a .bundle?
  • Index(es):
    • Date
    • Thread