EFFlukyProgressHUD
EFFlukyProgressHUD is an ordinary custom loading hub, simply combines MBProgressHUD
with Fluky
.
Preview
Single | Linear | Box |
---|---|---|
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- XCode 9.0+
- Swift 4.2+
- iOS 9.0+
Version | Needs |
---|---|
<5.0 | Xcode 10.0+ Swift 4.2+ iOS 8.0+ |
5.x | Xcode 10.2+ Swift 5.0+ iOS 8.0+ |
Installation
EFFlukyProgressHUD is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'EFFlukyProgressHUD'
Use
This library simply combines MBProgressHUD
with Fluky
, fast use:
// 1.
EFFlukyProgressHUD.showAdded(to: self.view, animated: true)
Or you can custom it:
// 2.
let hub: EFFlukyProgressHUD = EFFlukyProgressHUD(flukyType: EFFlukyType.single)
self.view.addSubview(hub)
hub.show(animated: true)
For more information, you can see the document of MBProgressHUD and Fluky.
Author
EyreFree, [email protected]
License
EFFlukyProgressHUD is available under the MIT license. See the LICENSE file for more info.