Lotus
Lotus – powerful nano framework that helps implement layer animation with easy syntax. This DSL relieves you from routine code of making animations via CoreAnimation.
Getting started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Requirements
- Xcode 10.2+
- Cocoapods 1.7.0+
- Git client
Installing
CocoaPods
- In terminal switch to your repository with project
- Specify Lotus in your
Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
target '<Your Target Name>' do
pod 'Lotus'
end
- Run
pod install
command
Usage
- Import Lotus into your project
- Create any layer and add to
view
's hierarchy
- Then run any needed animation whenever you need