SHORT QUESTIONS 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 J Joynal Abedin October 22, 2022 · 1 min read 4 0 @StateObject -> Use this on creation/init() in parent view @ObservedObject -> Use this for subViews() in parent view swiftui @StateObject @ObjervedObject Share J Written by Joynal Abedin Passionate about technology, code, and sharing knowledge. More Stories Different ways use for loop in swift Feb 28, 2023 Is my variable empty or nil, how will i check? Feb 23, 2023 How will i print value in Optional Array without nil value Feb 23, 2023 0 Comments Leave a Comment Post Comment
0 Comments
Leave a Comment