nghialv / MaterialKit

Material design components for iOS written in Swift
MIT License
2.5k stars 290 forks source link

MKTextField bottomBorder not working #29

Open dhvlgolakiya opened 9 years ago

dhvlgolakiya commented 9 years ago

I'm using Material kit in my project. materialKit integrated using pod.

I'm using MKTextfield like:

@IBOutlet  var verifyPinTextField: MKTextField!

verifyTextField.layer.borderColor = UIColor.clearColor().CGColor
verifyTextField.floatingPlaceholderEnabled = true
verifyTextField.placeholder = "Github"
verifyTextField.tintColor = UIColor.MKColor.Orange
verifyTextField.rippleLocation = .Right
verifyTextField.cornerRadius = 0
verifyTextField.bottomBorderEnabled = true
verifyTextField.bottomBorderColor = UIColor.MKColor.Orange

But bottomBorder not shown while editing text in textfield. Also placeholder not shown not float position.