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 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