Skip to content

A pull-up-to-refresh control for a UIScrollView, based off of airbnb's Lottie

License

Notifications You must be signed in to change notification settings

crspybits/LottiesBottom

Repository files navigation

LottiesBottom

Description

Uses https://github.com/airbnb/lottie-ios animations for a pull up from the bottom control for a UIScrollView. E.g., this is useful for a pull-up-from the bottom refresh control for a UITableView. And could just be a fun easter egg too! The Lottie animation .json file you use needs to be in the main bundle of your app.

Demo of LottieBottom

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

I've tested this on iOS 11 so far with Xcode 9. It uses Swift.

Installation

LottiesBottom is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'LottiesBottom', '~> 0.5'

Author

crspybits, [email protected]

License

LottiesBottom is available under the MIT license. See the LICENSE file for more info.