Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define global styles for all text fields #312

Open
LinusGeffarth opened this issue Mar 10, 2020 · 1 comment
Open

Define global styles for all text fields #312

LinusGeffarth opened this issue Mar 10, 2020 · 1 comment

Comments

@LinusGeffarth
Copy link

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
Copy link

iamagam commented Dec 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants