TextField In SwiftUI: A Deep Dive — Part 1
Analysis and best practices to use a TextField in SwiftUI
5 min readMar 16, 2022
TextFields are one of those basic components that we use over and over building an iOS app. We use them so many time that often we forget everything that we could do with them. In this article I’ll try to show you everything about TextFields.
If you are interested in behavior of basic components, I may suggest you my articles about Text:
TextFields are a huge topic, so I’ve decided to split everything in two articles. In the first one I will deal with:
- The Basic
- Localization
- Playing with Fonts
- Customizing Placeholders and Borders
- Further customization