Subscribing to value changes inside child objects of environment view models (view not being re-rendered when this happens)

后端 未结 0 1713
梦谈多话
梦谈多话 2020-12-19 01:32

I have a view model that is parent to other children view models. That is:

public class ViewModel: ObservableObject {
    
    @Published var nav = Navigation         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题