Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 498 Bytes
//
// UIDatePickerExtensions.swift
// SwifterSwift
//
// Created by Omar Albeik on 12/9/17.
// Copyright © 2017 SwifterSwift
//
#if canImport(UIKit) && os(iOS)
import UIKit
// MARK: - Properties
public extension UIDatePicker {
/// SwifterSwift: Text color of UIDatePicker.
var textColor: UIColor? {
set {
setValue(newValue, forKeyPath: "textColor")
}
get {
return value(forKeyPath: "textColor") as? UIColor
}
}
}
#endif
You can’t perform that action at this time.