All Projects → airbnb → Lottie Ios

airbnb / Lottie Ios

Licence: apache-2.0
An iOS library to natively render After Effects vector animations

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Lottie Ios

Hero
Elegant transition library for iOS & tvOS
Stars: ✭ 20,547 (-7.84%)
Mutual labels:  ios-animation, transition-animation, ios-transition, custom-transitions
Pvview
A small library that helps you to make an amazing parallax view
Stars: ✭ 227 (-98.98%)
Mutual labels:  ios-animation, transition-animation
Flawless Ios
Awesome iOS guides from the community, shared on Flawless iOS Medium blog 👉
Stars: ✭ 260 (-98.83%)
Mutual labels:  ios-animation
Starwars.ios
This component implements transition animation to crumble view-controller into tiny pieces.
Stars: ✭ 3,685 (-83.47%)
Mutual labels:  transition-animation
Hotels
酒店预订App
Stars: ✭ 323 (-98.55%)
Mutual labels:  ios-animation
Guillotinemenu
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine.
Stars: ✭ 2,908 (-86.96%)
Mutual labels:  transition-animation
Marqueelabel
Charles Powell
Stars: ✭ 3,741 (-83.22%)
Mutual labels:  ios-animation
tgskit
Toolkit for dealing with Telegram Stickers and Bodymovin/Lottie animations.
Stars: ✭ 45 (-99.8%)
Mutual labels:  bodymovin
Chromacolorpicker
🎨 An intuitive iOS color picker built in Swift.
Stars: ✭ 434 (-98.05%)
Mutual labels:  ios-animation
Mevfloatingbutton
An iOS drop-in UITableView, UICollectionView and UIScrollView superclass category for showing a customizable floating button on top of it.
Stars: ✭ 301 (-98.65%)
Mutual labels:  ios-animation
Jthamburgerbutton
An animated hamburger button for iOS.
Stars: ✭ 358 (-98.39%)
Mutual labels:  ios-animation
Kdintroview
Stars: ✭ 300 (-98.65%)
Mutual labels:  ios-animation
Iosproject
IOS综合项目,完善的框架,路由模块化设计,集成科大讯飞SDK方便iOS基本输入控件实现语音辅助输入,UI效果参照京东APP,JS与OC交互,ionic跨平台开发,MQTT 协议,即时通讯协议,视屏播放,跑马灯效果 仿美团地图定位,城市收索, 友盟分享,基础动画 增加FCUIID帮助类,引导页功能模块,照片上传 ,UIView自定义导航栏,文件下载,Masonry 案例,fmdb,数据库,sqlite,百度地图,二维码,照片上传,照片上传有进度,列表倒计时,H5和原生交互,自定义各种弹框,常见表单类型,人脸识别,列表加载图片,列表拖拽,日历操作,导航条渐变,核心动画,动画特效等等
Stars: ✭ 291 (-98.69%)
Mutual labels:  ios-animation
React Native Dating App
Dating app - Exponent and React Native
Stars: ✭ 352 (-98.42%)
Mutual labels:  ios-animation
Gemini
Gemini is rich scroll based animation framework for iOS, written in Swift.
Stars: ✭ 2,965 (-86.7%)
Mutual labels:  ios-animation
Jzmultichoicescirclebutton
🔘 Multi choice circle button with cool 3d parallax effect, but seriously don't use this in production now, I will rewrite it to a delegate based UIControl when I am available.
Stars: ✭ 380 (-98.3%)
Mutual labels:  ios-animation
LottieExampleProject
This is an example project for using Lottie in Android applications
Stars: ✭ 17 (-99.92%)
Mutual labels:  bodymovin
React Flip Move
Effortless animation between DOM changes (eg. list reordering) using the FLIP technique.
Stars: ✭ 3,678 (-83.5%)
Mutual labels:  transition-animation
Somo
Somo is a iOS Skeleton-style animation library that's simple enough,and in objective-c
Stars: ✭ 299 (-98.66%)
Mutual labels:  ios-animation
Notificationbanner
The easiest way to display highly customizable in app notification banners in iOS
Stars: ✭ 4,307 (-80.68%)
Mutual labels:  ios-animation

Lottie for iOS, macOS (and Android and React Native)

VersionLicensePlatform

View documentation, FAQ, help, examples, and more at airbnb.io/lottie

Lottie is a mobile library for Android and iOS that natively renders vector based animations and art in realtime with minimal code.

Lottie loads and renders animations and vectors exported in the bodymovin JSON format. Bodymovin JSON can be created and exported from After Effects with bodymovin, Sketch with Lottie Sketch Export, and from Haiku.

For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. Since the animation is backed by JSON they are extremely small in size but can be large in complexity! Animations can be played, resized, looped, sped up, slowed down, reversed, and even interactively scrubbed. Lottie can play or loop just a portion of the animation as well, the possibilities are endless! Animations can even be changed at runtime in various ways! Change the color, position or any keyframable value! Lottie also supports native UIViewController Transitions out of the box!

Here is just a small sampling of the power of Lottie

Example1 Example2

Example3

Abcs

Installing Lottie

Lottie supports CocoaPods and Carthage (Both dynamic and static). Lottie is written in Swift 4.2.

Github Repo

You can pull the Lottie Github Repo and include the Lottie.xcodeproj to build a dynamic or static library.

CocoaPods

Add the pod to your Podfile:

pod 'lottie-ios'

And then run:

pod install

After installing the cocoapod into your project import Lottie with

import Lottie

Carthage

Add Lottie to your Cartfile:

github "airbnb/lottie-ios" "master"

And then run:

carthage update

In your application targets “General” tab under the “Linked Frameworks and Libraries” section, drag and drop lottie-ios.framework from the Carthage/Build/iOS directory that carthage update produced.

Swift Package Manager

// swift-tools-version:5.1

import PackageDescription

let package = Package(
  name: "YourTestProject",
  platforms: [
       .iOS(.v12),
  ],
  dependencies: [
    .package(name: "Lottie", url: "https://github.com/airbnb/lottie-ios.git", from: "3.2.1")
  ],
  targets: [
    .target(name: "YourTestProject", dependencies: ["Lottie"])
  ]
)

And then import wherever needed: import Lottie

Adding it to an existent iOS Project via Swift Package Manager

  1. Using Xcode 11 go to File > Swift Packages > Add Package Dependency
  2. Paste the project URL: https://github.com/airbnb/lottie-ios
  3. Click on next and select the project target
  4. Don't forget to set DEAD_CODE_STRIPPING = NO in your Build Settings (https://bugs.swift.org/plugins/servlet/mobile#issue/SR-11564)

If you have doubts, please, check the following links:

How to use

Creating Swift Packages

After successfully retrieved the package and added it to your project, just import Lottie and you can get the full benefits of it.


Objective-C Support

As of 3.0 Lottie has been completely rewritten in Swift!

For Objective-C support please use Lottie 2.5.3. Alternatively an Objective-C branch exists and is still active.

The official objective c branch can be found here:

Objective-C Branch

Also check out the documentation regarding it here:

iOS Migration

Data collection

The Lottie SDK does not collect any data. We provide this notice to help you fill out App Privacy Details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].