• 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: Quincey Morris <email@hidden>
  • Date: Thu, 27 Nov 2014 00:03:26 +0000

On Nov 26, 2014, at 15:49 , Jens Alfke <email@hidden> wrote:

One is a prefix header, which is what you describe above.

Ah, yes, I see now. Because of pre-compilation, I’ve looked at that build setting for years without making the distinction.

Follow-up questions for extra credit:

— Is there now an emerging trend to use @import in place of #import <> (for code that doesn’t need backward compatibility, of course)?

— Does the linker support automatic linking of frameworks mentioned in module @/#import statements? The clang web site describes this as not universally supported, but I don’t know if Apple’s ld does it, or for that matter whether Xcode provides the behavior even if ld doesn’t.

The first question only affects a savings of a few keystrokes AFAIK, but the second affects whether Cocoa frameworks still need to be manually added to Xcode projects.

 _______________________________________________
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: Fritz Anderson <email@hidden>
References: 
 >Precompiled headers (From: Quincey Morris <email@hidden>)
 >Re: Precompiled headers (From: Jens Alfke <email@hidden>)

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