SwiftUI TextField is locked when user enters data When I develop ios app, I have a problem. TextField is locked when user enters data. The solution is: TextFie…
Read more »Difference between @StateObject and @ObservedObject on SwiftUI Both @StateObject and @ObservedObject are SwiftUI property wrappers used to manage state for re…
Read more »How to show LaunchScreen in SwiftUI 1. Create LaunchScreen file 2. Design your LaunchScreen using storyboard 3. Set your LaunchScreen File on Targets - Your P…
Read more »What is ObservableObject and @ObservedObject and @Published on SwiftUI? 1. ObservableObject class User : ObservableObject { let name = "User Nam…
Read more »What is SwiftUI @Binding? @Binding is a crucial property wrapper that allows you to create a two-way connection between a value stored in one view and a prope…
Read more »How to construct Custom TextField on SwiftUI import Foundation import SwiftUI struct SaleWarSearchBar : View { @State private var searchText = &q…
Read more »GeometryReader with SwiftUI Let's study GeometryReader when using SwiftUI import SwiftUI struct Home : View { var body : some View { …
Read more »