Where we should use @StateObject @ObservedObjec in SwiftUI?
@StateObject -> Use this on creation/init() in parent view @ObservedObject -> Use this for subViews() in parent view
Read more@StateObject -> Use this on creation/init() in parent view @ObservedObject -> Use this for subViews() in parent view
Read more