Re: Frameworks linking against Frameworks
Re: Frameworks linking against Frameworks
- Subject: Re: Frameworks linking against Frameworks
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 18 Mar 2008 19:42:34 +0100
Le 18 mars 08 à 19:38, Wesley Smith a écrit :
It's possible using umbrella framework, (that what Apple do with
Cocoa that
use Foundation and AppKit) but the doc also sais:
«While it is possible to create umbrella frameworks using Xcode,
doing so is
unnecessary for most developers and is not recommended.Apple uses
umbrella
frameworks to mask some of the interdependencies between libraries
in the
operating system. In nearly all cases, you should be able to
include your
code in a single, standard framework bundle. Alternatively, if your
code was
sufficiently modular, you could create multiple frameworks, but in
that
case, the dependencies between modules would be minimal or
nonexistent and
should not warrant the creation of an umbrella for them.»
(http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/CreationGuidelines.html
)
That said, search for umbrella framework in documentation.
Isn't an umbrella framework a framework with other frameworks inside
it? That's not exactly the situation I have. I'm simply linking
against another framework. I definitely don't want to embed the
Cg.framework in my own. I'm guessing from your reply that what I want
to do is not possible, or am I misunderstanding?
thanks,
wes
As far as i know, Cocoa does not embed Foundation and AppKit and you
don't need to specify them in your project to use them. Linking on
Cocoa is enough.
This is a special kind of umbrella framework.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden