Write Optimization in SwiftUI updating EnvironmentObject

前端 未结 0 380
無奈伤痛
無奈伤痛 2021-01-31 18:54

I have an array inside my EnvironmentObject that drives a few of my views. Now I need an update function for that array. Some elements might change, some may not.

Should

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