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

Define global styles for all text fields #312

Open LinusGeffarth opened 4 years ago

LinusGeffarth commented 4 years ago

Is it currently possible to define global styles for all text fields?
To be specific, I want to set the titleFont for all the text fields that I already have – which are mostly initialized through the storyboard anyway.

Thanks!

iamagam commented 2 years ago

@LinusGeffarth Create subclass of textfield and add this subclass as class of your textfield in the storyboard. Set your global style on subclass.