All Projects → MaximKotliar → Bartinter

MaximKotliar / Bartinter

Licence: mit
Dynamically changes status bar style depending on content behind it

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Bartinter

Chinese Lunar Calendar For Mac
Chinese Lunar Calendar for Mac
Stars: ✭ 150 (-91.11%)
Mutual labels:  status, bar
duing
😱 The progress bar / status badge of SVG generator service
Stars: ✭ 68 (-95.97%)
Mutual labels:  status, bar
Immersionbar
android 4.4以上沉浸式状态栏和沉浸式导航栏管理,适配横竖屏切换、刘海屏、软键盘弹出等问题,可以修改状态栏字体颜色和导航栏图标颜色,以及不可修改字体颜色手机的适配,适用于Activity、Fragment、DialogFragment、Dialog,PopupWindow,一句代码轻松实现,以及对bar的其他设置,详见README。简书请参考:http://www.jianshu.com/p/2a884e211a62
Stars: ✭ 10,030 (+494.55%)
Mutual labels:  status, bar
Gskstretchyheaderview
A generic stretchy header for UITableView and UICollectionView
Stars: ✭ 1,624 (-3.73%)
Mutual labels:  uikit
Ct Material Kit Pro
Premium Bootstrap 4 UI Kit based on Google's Material Design
Stars: ✭ 123 (-92.71%)
Mutual labels:  uikit
Pbtreeview
An UITreeView implementation from UITableView that Apple missed in its UIKit framework. And it is in pure Swift.
Stars: ✭ 128 (-92.41%)
Mutual labels:  uikit
Overlap
Tiny iOS library to achieve overlap visual effect
Stars: ✭ 133 (-92.12%)
Mutual labels:  uikit
Movieflex ios
iOS application for Movie / Actor information with clean / intuitive UI and MVVM architecture.
Stars: ✭ 119 (-92.95%)
Mutual labels:  uikit
Combine Mvvm
Sample project with Combine & UIKit framework, MVVM architecture
Stars: ✭ 132 (-92.18%)
Mutual labels:  uikit
Vue Toastify
🔥 Simple, extendable, dependency free notification plugin. 🔥
Stars: ✭ 126 (-92.53%)
Mutual labels:  status
Wp Statuses
WordPress plugin to ease Custom Post Statuses integration
Stars: ✭ 125 (-92.59%)
Mutual labels:  status
Awesome Tca
Awesome list for The Composable Architecture
Stars: ✭ 124 (-92.65%)
Mutual labels:  uikit
Multiplatform Compose
A Kotlin library to use Jetpack Compose in Android and iOS. Allow to write UI for both in Kotin. Still experimental as many compose features are not yet available.
Stars: ✭ 126 (-92.53%)
Mutual labels:  uikit
Uicircularprogressring
A circular progress bar for iOS written in Swift
Stars: ✭ 1,658 (-1.72%)
Mutual labels:  bar
Flamesui
A css-based web components.
Stars: ✭ 133 (-92.12%)
Mutual labels:  uikit
Downloadbutton
Customizable App Store style download button
Stars: ✭ 1,532 (-9.19%)
Mutual labels:  uikit
Hot
Hot is macOS menu bar application that displays the CPU speed limit due to thermal issues.
Stars: ✭ 131 (-92.23%)
Mutual labels:  status
Components
MobileUI was created thinking of making your hybrid application faster and smaller since you only install what you are really going to use for UI.
Stars: ✭ 125 (-92.59%)
Mutual labels:  uikit
Uiimageheic
UIImage category that adds familiar HEIC encoding.
Stars: ✭ 125 (-92.59%)
Mutual labels:  uikit
Kgnautolayout
Making AutoLayout Easy
Stars: ✭ 127 (-92.47%)
Mutual labels:  uikit

Awesome Version License Platform

Bartinter

Status bar apperance manager that make your status bar readable by dynamically changing it's color depending on content behind.

Installation

Add

pod 'Bartinter'

to your podfile, and run

pod install

Usage

Set "View controller-based status bar appearance" (UIViewControllerBasedStatusBarAppearance) to YES in your Info.plist. Set ViewController's updatesStatusBarAppearanceAutomatically = true

That's it.

Swizzling

By default, bartinter swizzles a couple methods for your convenience. (see: UIKitSwizzling.swift) If you are not ok with method swizzling, you can disable it by following line:

Bartinter.isSwizzlingEnabled = false

Without swizzling you need to do some things manually:

Firstly, you need to provide childViewControllerForStatusBarStyle, in your ViewController subclass just add following:

override var childViewControllerForStatusBarStyle: UIViewController? {
    return statusBarUpdater
}

Secondly, you need to decide, when you need to refresh status bar style, for example on tableView scroll, so add:

func scrollViewDidScroll(_ scrollView: UIScrollView) {
    statusBarUpdater?.refreshStatusBarStyle()
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].