Why does SwiftUI react to willSet in Published

前端 未结 0 1646
伪装坚强ぢ
伪装坚强ぢ 2021-02-11 14:02

I was wondering why is that Published property wrapper fires in willSet and not in didSet. For the UI this probably doesn\'t make a differ

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