Re: How do I create and use a framework...
Re: How do I create and use a framework...
- Subject: Re: How do I create and use a framework...
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 6 May 2003 22:01:52 -0700
On Tuesday, May 6, 2003, at 09:19 PM, Andy Satori wrote:
Where/which headers should I be using from my NSObject subclasses, and
how do I expose them as part of the Framework, like Cocoa.h is in the
Cocoa.framework?
If you open up the framework's target settings and click on the Headers
build phase, you'll be able to choose which framework headers you wish
to include inside the frameworks. The only difference between public
and private headers is public headers are stored in a folder called
"Headers" while private ones are stored in "PrivateHeaders". If you
don't choose either, then the header file will not be included in the
framework at all.
You'll also need to set the install path and the first segment address
used by the framework. You can find information about those things on
ADC.
It's probably a good idea to create a meta-header that includes every
public header file used by your framework, like Cocoa/Cocoa.h... You
can look at that file to learn how to do it. It's pretty easy...
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Great spirits have always encountered violent opposition from mediocre
minds." - Albert Einstein
_______________________________________________
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.