Skyscanner / SkyFloatingLabelTextField

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.
Apache License 2.0
4.09k stars 540 forks source link

How to set single color for all the textfields across app? #294

Open ghost opened 4 years ago

ghost commented 4 years ago

I want to set lineColor and selectedLineColor for the SkyFloatingLabelTextField as a single color across the iOS Application . Is there any way to do that ?

What i mean by that is for example , i can set navigation bar background color to black by simply setting : UINavigationBar.appearance().backgroundColor = UIColor.black in App Delegate . I am wondering such a mechanism exists for the above mentioned properties in SkyFloatingLabelTextField.

georgegillams commented 4 years ago

I don't see any good reason to not put a UI_APPEARANCE property on the component for this.