TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Aug 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Vyacheslav Petrukhin.
TimeZoneInlineRow
is a simple time zone picker.
Just setup a color.
FormViewController
import TimeZoneInlineRow
class ViewController: FormViewController {
override func viewDidLoad() {
super.viewDidLoad()
form +++ Section()
<<< TimeZoneInlineRow() {
$0.value = TimeZone.current
}
}
}
Before contribute check the CONTRIBUTING file for more info.
To run the example project, clone the repo, and run pod install
from the Example directory first.
TimeZoneInlineRow is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TimeZoneInlineRow"
For basic styling colors initalization, use cellSetup
and cellUpdate
.
var adHeight: Double
: sets your banner height.For instance,
you can do this in any FormViewController
class:
<<< TimeZoneInlineRow() {
$0.value = TimeZone.current
}
TimeZoneInlineRow is available under the MIT license. See the LICENSE file for more info.