PKStatusBarLoader 0.0.6

PKStatusBarLoader 0.0.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Prateek kansara.



  • By
  • kansaraprateek

PKStatusBarLoader




Example

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

Screenshots

Requirements

Installation

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

pod "PKStatusBarLoader"
import PKStatusBarLoader

// How To Use

// Set the background Color
PKStatusBarLoader.setBackgroundColor(color: UIColor.orange)

// Set header Message
PKStatusBarLoader.show(withMessage: "Yayyy")

// Dismiss status bar
PKStatusBarLoader.dismiss()

// Update UI Elements with [String : Any] object. Call

PKStatusBarLoader.setupLoaderUI(data: [
    kPKStatusBarLoaderBKGColor : UIColor.black,
    kPKStatusBarLoaderHeaderTextFont : UIFont.init(name: <Font_Name>, size: 10.0),
    kPKStatusBarLoaderHeaderTextColor : UIColor.white,
    kPKStatusBarLoaderHeaderTextBKGColor : UIColor.clear
])

Author

kansaraprateek, [email protected]

License

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