How to use protocol in Swift Protocols are a fundamental concept in Swift, playing a crucial role in Swift's "Protocol-Oriented Programming" par…
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 solve error "Realm accessed from incorrect thread" When I use Realm library on ios project, I met "Realm accessed from incorrect thread&…
Read more »