• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I create and use a framework...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >How do I create and use a framework... (From: Andy Satori <email@hidden>)

  • Prev by Date: NSTableView and validateMenuItem:
  • Next by Date: Re: NSNetServiceBrowser
  • Previous by thread: How do I create and use a framework...
  • Next by thread: Re: Improving NSStatusItem awareness
  • Index(es):
    • Date
    • Thread