Skip to content

mzahidimran/UberLoaderHud

Repository files navigation

UberLoaderHud (Swift Package Manager + Cocoapods)

Watch the video

UberLoaderHud is simple implementation of Uber Style loading indicator.

UIView extention easy to use

To show hud in any view self.view.showLinearHud()

To hide hud in view self.view.hideLinearHud()

Add top padding in case of under navigation bar

self.view.showLinearHud(Double(self.view.safeAreaInsets.top))

#Color & Height

Change color with UIView static property

UIView.loaderColor = UIColor.red

Change line height

UIView.loaderHeight = 4.0

#Installation

Install Using pods

pod 'UberLoaderHud'

Install Using Swift Package Manager

https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app

Version 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published