- July 26, 2025
- Mins Read
RSLoadingView
bring your app to the new age of loading animations using 3D engine.
SpinAlone – base
Variant
SpinAlone – base
Variant
SpinAlone – inAndOut
Variant; speedFactor = 2.0; lifeSpanFactor = 2.0; mainColor = UIColor.red
Twins – base
Variant
RSLoadingView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod “RSLoadingView”
import UIKit
import RSLoadingView
class ViewController: UIViewController {
@IBAction func showLoadingHub() {
let loadingView = RSLoadingView()
loadingView.show(on: view)
}
@IBAction func showOnViewTwins() {
let loadingView = RSLoadingView(effectType: RSLoadingView.Effect.twins)
loadingView.show(on: view)
}
func hideLoadingHub() {
RSLoadingView.hide(from: view)
}
@IBAction func showOnWindow() {
let loadingView = RSLoadingView()
loadingView.showOnKeyWindow()
}
func hideLoadingHubFromKeyWindow() {
RSLoadingView.hideFromKeyWindow()
}
}
Effect | Variants |
---|---|
RSLoadingSpinAlone | base, inAndOut |
RSLoadingTwins | base |
RSLoadingTriples | (coming soon) |
Field | Default Value |
---|---|
speedFactor | 1.0 |
mainColor | UIColor.white |
colorVariation | 0.0 |
sizeFactor | 1.0 |
spreadingFactor | 1.0 |
lifeSpanFactor | 1.0 |
variantKey | “” |
Field | Default Value |
---|---|
shouldDimBackground | true |
dimBackgroundColor | UIColor.black.withAlphaComponent(0.6) |
isBlocking | true |
shouldTapToDismiss | false |
sizeInContainer | CGSize(width: 180, height: 180) |
NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...