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...
exyte

     

camerakit-ios

CameraKit helps you add reliable camera to your app quickly. Our open source camera platform provides consistent capture results, service ...

HybridCamera

[video width="192" height="416" mp4="https://swiftgit.com/wp-content/uploads/2024/12/68747470733a2f2f7261776769742e636f6d2f7374796c656b69742f696d672f6d61737465722f7669645f6564697465645f325f326d622e676966.mp4"][/video]

TakeASelfie

An iOS framework that uses the front camera, detects your face and takes a selfie. This api opens the front ...

iOS-Depth-Sampler

Code examples of Depth APIs in iOS