Re: What is the difference between linked and other frameworks in PB AppKit project?
Re: What is the difference between linked and other frameworks in PB AppKit project?
- Subject: Re: What is the difference between linked and other frameworks in PB AppKit project?
- From: Kurt Revis <email@hidden>
- Date: Sun, 16 Dec 2001 15:18:13 -0800
On Sunday, December 16, 2001, at 02:21 PM, Gerben Wierda wrote:
Cocoa.framework is 'linked' and AppKit.framework and
Foundation.framework are 'other'. And Cocoa.framework is checked, teh
other aren't. What does this mean?
Cocoa.framework is an "umbrella framework" which includes both
Foundation and AppKit. It's better to link against the umbrella
framework, since it will includes everything a Cocoa app needs. (Maybe
it will include more than Foundation and AppKit in the future--who
knows.) Also it has a precompiled header which should make builds faster
[1].
However, in Project Builder, there's no easy way to get at the
Foundation and AppKit headers from the Cocoa framework--their headers
are not shown in the Cocoa.framework Headers folder. So those frameworks
are also in the project for convenience. You can remove them from your
project--it won't make any difference.
I don't think there's anything special about the "Linked Frameworks" and
"Other Frameworks" groups. They're just a convenient way of organizing
things.
[1] Or so says <Cocoa/Cocoa.h>. However, both AppKit and Foundation
have precompiled headers themselves, so I don't imagine it really makes
much difference. But I haven't run build speed tests or anything...
--
Kurt Revis
email@hidden