Chapter 15. Improving Code Quality

The disciplines of debugging, unit testing, and analyzing your code go hand in hand. Xcode benefits from a powerful set of built-in tools that help you accomplish these tasks without having to leave the application suite. With a mastery of these tools, you will be able to produce higher-quality code that ships with fewer bugs and better performance.

Debugging

In Chapter 9, we took a brief tour into the world of debugging but left some of the more in-depth topics for this chapter. Xcode debugging is built upon the foundations laid by the LLDB debugger, so we will explore some of its powerful console-based features, as well as some that are exposed through the Xcode user interface.

Observing and Modifying Variables ...

Get Mastering Xcode: Develop and Design, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.