• 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: How to tell what API is used
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell what API is used


  • Subject: Re: How to tell what API is used
  • From: Rustam Muginov <email@hidden>
  • Date: Fri, 25 Jun 2004 11:29:36 +0400

On 6/25/04 11:16 AM, "Mark Patterson" <email@hidden> wrote:

> Hi,
>
> How can you work out whether an app you're running is Cocoa or Carbon
> or java Cocoa? Is there something you can look at in the bundle? or
> some utility that tests for this?
>

1) Open "Info.plist" file which is inside the application package. If you
see the "NSPrincipalClass" and "NSMainNibFile" entries, then it should be
cocoa. If you don't see that entries, it should be Carbon.

2) In the terminal, type "otool -L <<path to application binary>>". This
will print the frameworks the application is linked with. If you see only
CarbonFramework and no CocoaFramework, then the application should be
Carbon.
_______________________________________________
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: 
 >How to tell what API is used (From: Mark Patterson <email@hidden>)

  • Prev by Date: How to tell what API is used
  • Next by Date: Re: A new bug in NSTableView in Mac OS X 10.3?
  • Previous by thread: How to tell what API is used
  • Next by thread: Re: How to tell what API is used
  • Index(es):
    • Date
    • Thread