Re: Objective-C: What is the current preferred method of declaring constants without a .pch?


On Oct 20, 2017, at 10:15 AM, Quincey Morris <quinceymorris@...> wrote:

However, what I really wanted to say is that precompilation may still be useful *within* a large module such as the main application target.

Yup. When the target you’re building has enough of its own header files to affect compilation speed, it becomes useful to precompile them.

There are also a lot of C and C++ headers in the OS (and in external libraries) that aren’t packaged into modules. For example, <sqlite3.h> is 10,000 lines long and it definitely helps to precompile it.


Join { to automatically receive all group messages.