Re: "weak link" framework refs for 10.1 compatibility?
Re: "weak link" framework refs for 10.1 compatibility?
- Subject: Re: "weak link" framework refs for 10.1 compatibility?
- From: Sam Griffith <email@hidden>
- Date: Sun, 10 Nov 2002 14:56:33 -0600
Hello again,
From this link:
file://localhost/Developer/Documentation/Essentials/SystemOverview/Framework
s/index.html
I found this text...
Frameworks solve this problem by bundling a dynamic shared library with the
resources used by the library or otherwise related to it. Indeed, "bundling"
is an apt term because frameworks are bundles as much as applications and
plug-ins are. However, frameworks differ in some significant ways from other
types of bundles:
* Frameworks include a unique type of resourceheader files. They can
also contain as a resource anything else that is appropriate, such as
private static libraries.
* The bundle bit is not set when a framework is built. As a result, the
Finder does not treat the framework as a file packagea directory presented
as a fileand thus developers can browse the packaged header files.
* Frameworks are versioned bundles, which are described in "The Internal
Structure of Frameworks".
So according to the docs, frameworks are like plug-ins. It is these same
docs that talk about the linking. I misread them earlier in that I mixed
the linking up with the dynamic loading.
Anyway, the docs imply that frameworks are like plug-ins, so wonder what the
real story is?
Finlay, do you have any more links into the docs that might shed some more
info?
Thanks,
--
Sam Griffith Jr.
email: email@hidden
Web site:
http://homepage.mac.com/staypufd/index.html
On 11/10/2002 9:30 AM, "Finlay Dobbie" <email@hidden> wrote:
>
On Sunday, November 10, 2002, at 07:39 am, Rosyna wrote:
>
>
> But uhm... frameworks are bundles, aren't they?
>
>
Depends what you mean by "bundle", but in the terminology Ondra was
>
referring to, no, they're not. Frameworks are just dynamic library
>
(.dylib) + headers, whereas bundles are dynamically loadable things,
>
like plugins and so on (.so). See the Linker release notes, linker
>
manpage, and /usr/include/mach-o/dyld.h for more info :-)
>
>
-- Finlay
>
_______________________________________________
>
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.
_______________________________________________
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.