Latest 0.1.0
Homepage https://github.com/fvolchyok/StatusBark
License MIT
Platforms ios 10.0
Authors

Version
License
Platform

Overview

StatusBark helps you globally customize all view controllers’ statusBarStyle from .default to .lightContent without manually changing statusBarStyle in each view controller, making custom view controllers hierarchy or using deprecated UIApplication.statusBarStyle but still allows you to change statusBarStyle for selected controllers.

Requirements

  • iOS10

Installation with CocoaPods

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

pod 'StatusBark'

Usage

import StatusBark

StatusBark.shared.globalStatusBarStyle = .lightContent

and if you need to revert statusBarStyle back to .default on some view controllers you use regular statusBarStyle

class CustomizedViewController: BaseViewController {

    override var statusBarStyle: UIStatusBarStyle {
        return .default
    }

}

Example Project

An example project is included with this repo. To run the example project, clone the repo, and run pod install from the Example directory first.

Author

Fyodor Volchyok

License

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

Latest podspec

{
    "name": "StatusBark",
    "version": "0.1.0",
    "summary": "Utility to globally override default statusBarStyle",
    "description": "StatusBark helps you globally customize all view controllers' statusBarStyle from .default to .lightContent without manually changing statusBarStyle in each view controller, making custom view controllers hierarchy or using deprecated UIApplication.statusBarStyle but still allows you to change statusBarStyle for selected controllers.",
    "homepage": "https://github.com/fvolchyok/StatusBark",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "fvolchyok": "[email protected]"
    },
    "source": {
        "git": "https://github.com/fvolchyok/StatusBark.git",
        "tag": "0.1.0"
    },
    "swift_version": "4.2",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "StatusBark/Classes/**/*"
}

Pin It on Pinterest

Share This