Precompiled headers
Precompiled headers
- Subject: Precompiled headers
- From: Quincey Morris <email@hidden>
- Date: Wed, 26 Nov 2014 22:14:44 +0000
I notice in a newly created Obj-C project (Xcode 6.1) that targets no longer use precompiled headers by default, presumably because they now enable modules by default.
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.
Is there now an alternative way of importing headers into every compilation without re-enabling precompiled headers? Should I actively avoid using precompiled headers now, or should I just go ahead use one to get the above convenience?
_______________________________________________
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