George Yang on Nostr: With this new Swift Observation, do we still need StateObject property wrapper? A ...
With this new Swift Observation, do we still need StateObject property wrapper? A Observable model type in SwiftUI view is strong unless declared as weak? #iOSDev #WWDC23
Published at
2023-06-08 19:20:59Event JSON
{
"id": "0a589f2886133b2eaa3861c500a3da89760db6e8e809b8daf0ec14f8782eb6ce",
"pubkey": "41ed0e4c0b18b8c463ff1939695df40a56958b3213636f1ea160e4b9550ca27c",
"created_at": 1686252059,
"kind": 1,
"tags": [
[
"t",
"wwdc23"
],
[
"t",
"iosdev"
],
[
"mostr",
"https://mstdn.social/users/gxgyang/statuses/110510214973406307"
]
],
"content": "With this new Swift Observation, do we still need StateObject property wrapper? A Observable model type in SwiftUI view is strong unless declared as weak? #iOSDev #WWDC23",
"sig": "fc29b1f19f4bd90e6794ee4897b22a6dacefd679e65a78b01df2c0ac2fcd05f18aaa5e3a129fa5c3a04744510834e2861913911c30af628b1da7343a442d691a"
}