O'Reilly logo

Learn SpriteBuilder for iOS Game Development by Steffen Itterheim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    14

Debugging & Best Practices

Debugging is the art of understanding the root causes of a programming or specification issue so that you can either fix the issue, work around it, or alter your program specifications and requirements.

Why mention this at all in a book about SpriteBuilder?

Because you’ll inevitably run into problems that you can easily solve on your own with just basic knowledge of debugging tools and techniques. These problems are logging, asserting, adding breakpoints, stepping through code, and inspecting variable values. The latter two are performed while your app is running, which allows you to see exactly which paths your code is taking.

In this chapter, I give many code examples you don’t need to add to your Xcode ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required