Skip to Content
Beginning iOS 5 Application Development
book

Beginning iOS 5 Application Development

by Wei-Meng Lee
January 2012
Beginner content levelBeginner
655 pages
16h 35m
English
Wrox
Content preview from Beginning iOS 5 Application Development

13

Performing Simple Animations and Video Playback

WHAT YOU WILL LEARN IN THIS CHAPTER

  • Using the NSTimer class to create timers that call methods at regular intervals
  • How to perform simple animations using the NSTimer class
  • How to perform an affine transformation on an Image View
  • Animating a series of images using an Image View
  • How to play back videos in your iPhone application

Up to this point, the applications you have written have all made use of the standard views provided by the iOS SDK. As Apple has reiterated, the iPhone is not just for serious work; it is also a gaming platform.

In this chapter, you have some fun creating something visual. You learn how to perform some simple animations using a timer object and then perform some transformations on a view. Although it is beyond the scope of this book to show you how to create animations using OpenGL ES, this chapter does demonstrate some interesting techniques that you can use to make your applications come alive. In addition, you will also learn how to play back a video in your iPhone application.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering iOS 12 Programming - Third Edition

Mastering iOS 12 Programming - Third Edition

Donny Wals
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781118144251Purchase book