configure

fun configure(enabled: Boolean, secureTextEntry: Boolean, keyboardType: UIKeyboardType, textColor: UIColor, tintColor: UIColor, hasTrailingIcon: Boolean)(source)