O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

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 6. Animations and Graphics

In this chapter, we will cover the following topics:

  • Drawing text, images, lines, rectangles, and gradients
  • Animating shapes drawn with UIBezierPath
  • Animating UIViews

Introduction

You will not see apps (successful ones) in the App Store using native components without customization. You need your app to look great, unique, appealing, attractive, and eye-catching. This can't be achieved without getting your hands dirty with drawing, animation, and getting the skills of how to build custom components. In this chapter, we will see how to draw simple shapes and animate them. We will draw lines, shapes, and text and animate them. We will see how to add gradients or shadows to shapes. Lastly, we will discuss the various ...

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