Using Lottie Animations

A step-by-step tutorial to adding animations to your Swift app

Kacey Jimenez
Jul 8 · 2 min read

Importing Lottie

First things first, we will need to import Lottie. We can do this through the terminal; if you haven’t set Pods up yet do so by typing the following command:

pod init
pod install

Adding Animations

Let’s start setting up our storyboard in Xcode.

  1. Type in AnimationView for the custom class of the view.
  2. Control-drag the view to the ViewController file and make an IBOutlet connection and call it AVView.

Better Programming

Advice for programmers.

Kacey Jimenez

Written by

iOS Developer | Scrum Master in Charlotte, NC https://www.linkedin.com/in/kacey-jimenez-psm%C2%AE-72a812157

Better Programming

Advice for programmers.