Posts Tagged "SwiftUI"

SwiftUI TextField - Focus Management Using @FocusState

FocusState is a property wrapper introduced in iOS 15 that helps developers easily track the focus status of text fields in apps.

SwiftUI TextField - Basics and Common Modifiers

One of the essential components of any user interface is the text input field. In SwiftUI, this is handled by the TextField view. In this article, I will cover the basics of how to use TextField and introduce some common modifiers used with it.

Using @AppStorage to Access UserDefaults in SwiftUI

Starting with iOS 14, Apple introduced the @AppStorage property wrapper in SwiftUI. Through @AppStorage, developer can store value in UserDefaults in a more seamless and easier way.