Chapter    11

Debugging and Analysis

Chapter 10 looked at some of the ways Xcode can empower you to be a more effective and efficient developer, from tweaking the theme used to display code in the code editor, to using the jump bar and code snippets to speed up development. You learned all that by creating a Sprite Kit–based animation application where the hero, the alien dev, had bugs raining down on him from above.

This leads nicely into this chapter, where you learn about debugging and analysis and, hopefully, answer the question, “How can Xcode help when the bugs start raining down?” Xcode has a whole suite of tools dedicated to making your life easier when it comes to determining why your code throws an exception or why in some cases nothing ...

Get Beginning Xcode: Swift 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.