关于存储,SwiftUI View的生命周期是如何工作的?
我理解使用@State
、@StateObject
、@ObservedObject
、@Binding
,甚至简单的let/var
的含义
但不包括存储生命周期的工作方式以及与上述变量的关联方式
What gives a View it's identity and how does the system knows, when new View instances must be created and when they are only reassigned to this particular created View struct个
我发现这是理解的关键,到底发生了什么