Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Create a TextEditor With Font Size, Weight & Colour Settings

Create a TextEditor With Font Size, Weight & Colour Settings

Daily Coding Tip 017

Type Safely's avatar
Type Safely
Jan 04, 2021
∙ Paid

Share this post

Type Safely
Type Safely
Create a TextEditor With Font Size, Weight & Colour Settings
Share
Image by Franz Bachinger from Pixabay

TextEditor was new in 2020, and it allowed users to write text that spans multiple lines. Until WWDC 2020 there was only TextField and SecureTextField, unless you used UIViewRepresentable to wrap UITextView.

TextEditorView

In our example, we will also give the user the ability to set the font size, weight and colour. …

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share