• 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: Precompiled headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Precompiled headers


  • Subject: Re: Precompiled headers
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 26 Nov 2014 15:49:28 -0800


On Nov 26, 2014, at 2:14 PM, Quincey Morris <email@hidden> wrote:

Previously, I also used the .pch file as a place to put some definitions/includes that I used in most .m files, to avoid repeating the same #import in every file. For example, in some projects I’ve done this to get AppDelegate.h available everywhere.

There are two concepts here. One is a prefix header, which is what you describe above. The other is precompilation, which speeds up reading the prefix header.

I don't know whether precompilation is obsolete now, but prefix headers definitely still work. So I don't think you need to change anything in your configuration.

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: Precompiled headers
      • From: Quincey Morris <email@hidden>
References: 
 >Precompiled headers (From: Quincey Morris <email@hidden>)

  • Prev by Date: Precompiled headers
  • Next by Date: Re: Precompiled headers
  • Previous by thread: Precompiled headers
  • Next by thread: Re: Precompiled headers
  • Index(es):
    • Date
    • Thread