On Nov 26, 2014, at 15:49 , Jens Alfke <[email protected]> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to