• 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: [resend] Questions About Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [resend] Questions About Frameworks


  • Subject: Re: [resend] Questions About Frameworks
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 10 Jul 2004 22:24:15 -0600

On Jul 10, 2004, at 9:08 PM, Gus wrote:

Anyway, first. When you make a framework, what's the difference between dynamic, static, and bundles?

Dynamic frameworks/libraries are shared between different applications, and are loaded when the application begins. Static libraries are linked directly into each application at link time, so they are not shared. Bundles can be loaded and unloaded (except for Objective-C bundles, which can't be unloaded) at any time.

Next, I'm wondering what the differences are between a .framework and a .dylib..? I've seen both in a lot of places, and it's puzzling to me.

Frameworks can include headers and resources; dylibs are just a single file library.

I'm also wondering why dylibs don't have headers, and since they don't, how would you call their methods or use their classes (there aren't only C dylibs...)?

Take a look in your Mac's /usr/include directory. On Unix and Unix-like systems, it's tradition to keep system headers in /usr/include, and headers installed by packages the user installed in /usr/local/include.

Nick Zitzmann
<http://www.chronosnet.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: 
 >Questions About Frameworks (From: Gus <email@hidden>)
 >[resend] Questions About Frameworks (From: Gus <email@hidden>)

  • Prev by Date: Re: Filename encodings
  • Next by Date: Re: Filename encodings
  • Previous by thread: [resend] Questions About Frameworks
  • Next by thread: Re: Questions About Frameworks
  • Index(es):
    • Date
    • Thread