Re: Objective-C: What is the current preferred method of declaring constants without a .pch?
Alex Zavatone
Thanks Steve. That’s one option I’ve been considering. It’s a balance between knowing where to look for everything and properly scoping some constant to the one place where I use it. If there’s one thing that wastes my time, it’s hunting through my project for a constant, but if it only needs to be in one place, then I probably should learn to expect looking for it in the class that uses it.
toggle quoted messageShow quoted text
FYI, if anyone needs a little more explanation of how to handle this with modules, I just found this relatively recent link that may help us stay current. It mentions how to use the umbrella header within modules if you’re using them. Also Ash Furrow has some good input. Thanks for your time everyone. - Alex Zavatone
|
|