Type Safely

Type Safely

Create a TextEditor With Font Size, Weight & Colour Settings

Daily Coding Tip 017

Type Safely's avatar
Type Safely
Jan 04, 2021
∙ Paid
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. …

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture