Debug with the DEBUG preprocessor macro in Xcode

Testing shouldn’t mean using your production backend

Steven Curtis

--

Photo by Zan on Unsplash

Logging is a great way to know what is going on in your code, and solving those little problems (that may keep rearing their heads as you develop as a programmer).

But what if you could use Macros to use different sections of code according to different situations. One…

--

--