Re: Embedding a Framework within a Framework
Re: Embedding a Framework within a Framework
- Subject: Re: Embedding a Framework within a Framework
- From: Conor Dearden <email@hidden>
- Date: Sun, 19 Mar 2006 11:51:42 +0100
> file:///Developer/ADC Reference Library/documentation/MacOSX/Conceptual/BP
> Frameworks/Concepts/CreationGuidelines.html#//apple_ref/doc/uid/20002254-10484
The heading is not as amusing as you might think, it's actually quite right.
To avoid exactly this situation, where people seem to think that to use a
framework within a framework you need an umbrella framework and it's not so.
Mr. Ciuro depending on your project you might want to go with an umbrella
framework as suggested. Also consider the fact that you can reference the
custom framework from within your framework and then just ship both
frameworks to be included in the project. (If the license for the custom
framework prohibits distribution, then make a read me indicating where to
download the custom framework from). If your framework is for personal use
and not shipping this later is certainly what you want.
For example the DotMacKit framework. You would reference it in your
framework with #import <DotMacKit/DotMacKit.h> and you would drag it into
the "Frameworks" groups folder for linking but not add the copy phase
described in the read me. In your project again add both your framework and
DotMacKit but this time you add the copy phase to the build that would
install DotMacKit in Frameworks folder within the Contents folder.
Regards,
Conor Dearden
http://www.bruji.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden