BFLoadingView 1.0.3

BFLoadingView 1.0.3

Maintained by Matthias Nagel.



BFLoadingView

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

BFLoadingView is a nice morphing poligonal activity indicator designed as an animating HUD. Try to add it to your UIViewController and you should get the following result:

Use it!

First you have to import the BFLoadingView Library by adding import BFLoadingView.

Then call the following when you want to show the animated activity indicator. The fade in duration is 0.25 seconds:

showLoadingView()

But yeah, you can also set colors. How about this:

showLoadingView(backgroundColor: .red, triangle1Color: .black, triangle2Color: .blue, viewBackgroundColor: .yellow)

When you are done with your task in code you can also hide the indicator again by the following function:

hideLoadingView()

That's it. Have fun!

Installation

BFLoadingView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'BFLoadingView'

Author

Matthias Nagel, [email protected]
Bitfactory GmbH

License

BFLoadingView is available under the MIT license. See the LICENSE file for more info.