![]() ![]() Great, now for the fun part! Let’s get animated!!! Now, navigate to ViewController.swift, add the following line to the top of the file. Tap on Add Package at the bottom right corner and select your project as target. So here's how to do it: with Xcode in focus, at the top navigation bar, select File->Add Packages…, then on the top, right tap on Search or Enter Package URL and enter the URL: Note that in the video version of this tutorial above, we've used CocoaPods – you can still can use CocoaPods if you prefer, but using SPM cuts out a bit of work. There are a few ways to add Lottie to our project, but in this tutorial, we'll use Swift Package Manager (SPM). Tap Next and Create.Īwesome, we have the project ready, now let's add the Lottie library. Add the name of the project, organization and identifier. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |