Why does SwiftUI react to willSet in Published

前端 未结 0 636
無奈伤痛
無奈伤痛 2021-02-11 14:09

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

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