UITextView
-
Automatically sets these values: backgroundColor = clearColor, textColor = ThemeNicknameColor, clipsToBounds = true, textAlignment = Left, userInteractionEnabled = true, editable = false, scrollEnabled = false, font = ThemeFontName
Declaration
Swift
public convenience init(x: CGFloat, y: CGFloat, w: CGFloat, h: CGFloat, fontSize: CGFloat)
-
Automatically adds a toolbar with a done button to the top of the keyboard. Tapping the button will dismiss the keyboard.
Declaration
Swift
public func addDoneButton(_ barStyle: UIBarStyle = .default, title: String? = nil)