• 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: header files in application bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: header files in application bundle


  • Subject: RE: header files in application bundle
  • From: "Sven Hoffmann" <email@hidden>
  • Date: Sun, 6 Mar 2005 17:38:07 +0200
  • Thread-topic: header files in application bundle

I just created a cocoa app from the default cocoa app project in xcode,
added one controller.h and one controller.c file, and in the built
application bundle I find the header:
myapp.app/Contents/Resources/controller.h.

I then looked into some other apps I built and found they have headers
there as well.
There are others though, that don't. ???
Maybe I have some build setting set that causes this to happen?

Sven

On 2005-03-06, at 15.48, Sven Hoffmann wrote:

> I've been wondering:
> Why are there header files in the application bundle of a cocoa app?

In what Cocoa app? In general apps aren't packaged and distributed with
headers. Public frameworks need to have headers for obvious reasons, but
that's a different matter all together.

> What does one need them for there?

Nothing that I can think of - at least not in the general case.

One of my apps have a public plugin API. I used the default location for
headers to distribute the header file with the protocol declaration for
plugins for this app. Not that there is any technical reason why I
should place it there, but it was convenient (as the tools supported it
out of the box).

j o a r
**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content **
**************************************************************************************************
 _______________________________________________
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

  • Follow-Ups:
    • Re: header files in application bundle
      • From: j o a r <email@hidden>
    • Re: header files in application bundle
      • From: glenn andreas <email@hidden>
    • Re: header files in application bundle
      • From: j o a r <email@hidden>
  • Prev by Date: Re: header files in application bundle
  • Next by Date: Re: header files in application bundle
  • Previous by thread: Re: header files in application bundle
  • Next by thread: Re: header files in application bundle
  • Index(es):
    • Date
    • Thread