• 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 can I peer into a dynamic library to view the headers/contents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I peer into a dynamic library to view the headers/contents?


  • Subject: Re: How can I peer into a dynamic library to view the headers/contents?
  • From: Mike Ferris <email@hidden>
  • Date: Tue, 12 Apr 2005 07:39:37 -0700

For regular libraries (as opposed to frameworks) there's not much of an "inside". The headers are separate. In your case I would expect to find them somewhere in /opt/local/include (which you'll need to add to your HEADER_SEARCH_PATHS to get #import working the way you want.

Mike Ferris

[/Users/Ric]ls /opt/local/lib/*shp*
/opt/local/lib/libshp.1.2.10.dylib /opt/local/lib/libshp.1.dylib@ /opt/local/lib/libshp.dylib@


1) I like to peer inside of a dylib to see what APIs are available and hence how to incorporate it into my Obj-C Code (what do I #import ?)
2) How I can link the particular dylib into my project:
Do I merely set the LIBRARY_SEARCH_PATHS = /opt/local/lib {via Build/Link option}?


I'm stuck here.

I have it set via the LIBRARY_SEARCH_PATHS and it compiles; but I don't know what to use in the #import stmt nor how to peek inside the dylib to see what's there to import.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How can I peer into a dynamic library to view the headers/contents? (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Tiger unleashed !
  • Next by Date: Re: ScrollBar Position
  • Previous by thread: How can I peer into a dynamic library to view the headers/contents?
  • Next by thread: Tab view or embedded custom views?
  • Index(es):
    • Date
    • Thread