• 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: Getting an application's creator code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting an application's creator code


  • Subject: Re: Getting an application's creator code
  • From: Philippe Martin <email@hidden>
  • Date: Wed, 3 Jul 2002 20:54:56 +0200

At 18:17 +0200 03/07/02, Ondra Cada wrote:
>On Wednesday, July 3, 2002, at 04:38 , Philippe Martin wrote:
>
>>However, when the application is a bundle, these attributes don't have the NSFileHFSCreatorCode. I guess I could get the CFBundleSignature from its info.plist file, but I wonder if there's a more direct way that I miss.
>
>Just use NSBundle (created by bundleWithPath:), and check its infoDictionary. It makes actually for the very same algorithm, but using simpler and much more portable code.

Ah, thanks!

>Incidentally, what you need the creator code for?

To make an alternate (faster) way to change the InternetConfig default applications. IC references them by creator code.

>Creator codes are pretty obsoleted -- the Cocoa standard is the *bundle identifier* without any clumsy 4-char-limitations. You can get it through bundleIdentifier message sent to the bundle.

Noted. Thanks again.

Philippe
--
______________________________________________________________________
Philippe MARTIN (a.k.a. Flip) mailto:email@hidden
http://www.MacrobyteResources.com http://www.Free-Conversant.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Getting an application's creator code (From: Ondra Cada <email@hidden>)

  • Prev by Date: Application Icon...
  • Next by Date: Lazy Attribute Fixing
  • Previous by thread: Re: Getting an application's creator code
  • Next by thread: Re: Getting an application's creator code
  • Index(es):
    • Date
    • Thread