LLSpinner
  • September 25, 2023

An easy way to handle full screen activity indicator.

Easy to use


Get Started

// Show spinner
LLSpinner.spin()

// Hide spinner
LLSpinner.stop()

Controls

Custom Appearance

// You can modify the background color and the activity indicator style
// To set the default background color
LLSpinner.backgroundColor = UIColor(white: 0, alpha: 0.6)

// and the default activity indicator style
LLSpinner.style = .whiteLarge

// Or
LLSpinner.spin(style: .whiteLarge, backgroundColor: UIColor(white: 0, alpha: 0.6))

Tap handler

// Add a handler that will trigger when the spinner is tapped
LLSpinner.spin() {
LLSpinner.stop()
}

Installation


Cocoapods

LLSpinner is available through CocoaPods.

To install add the following line to your Podfile:

pod ‘LLSpinner’

Carthage

Add the following line to your Cartfile:

github “alaphao/LLSpinner”

Manually

Download and drop LLSpinner.swift in your project.

GitHub


View Github

#activityindicator #iosanimation #progressindicator
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...