Chapter 10
Adding Animation and Sound to Your App
In This Chapter
Understanding the iOS coordinate system
Animating the car (view)
Working with the block object pattern
Detecting and responding to touches
Animating in place
Although it may take some time before you go on your road trip, as well as complete the building of the app I’m showing you in this book, the least I can do is show you how to take a test drive in your ’59 pink Cadillac Eldorado Biarritz convertible.
In this chapter, you find out how to make the car move up the screen, turn around, and move back to its original position — with the appropriate sound effects.
I also show you how to drag the car on the screen to position the ride from wherever you’d like. And to add just a little more pizzazz, I show you how to make the Test Drive button blink.
This chapter provides you with a very good base for understanding animation, sound, and how to manage touches on the screen. They’re particularly useful in games, but they ...
Get iOS App Development For Dummies 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.