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


Steve Mills
 

On Oct 19, 2017, at 17:11, Jens Alfke <jens@...> wrote:

On Oct 19, 2017, at 12:11 PM, Alex Zavatone <zav@...> wrote:

I understand that a .pch is now a “bad idea”. OK. What do we do instead? Why?
Wait, what? I never got the memo on this.

The precompiled prefix header is just to speed up builds.
Exactly. I’ve never heard anyone say they should no longer be used. Why wouldn’t you want faster builds?

Steve via iPad

Join cocoa@apple-dev.groups.io to automatically receive all group messages.