Re: [resend] Questions About Frameworks
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.