ObservableObject is updating all views and causing menus to close in SwiftUI

前端 未结 0 1431
再見小時候
再見小時候 2020-12-02 00:46

I have this class which calls an API every 3 seconds (using a timer) and saves the result in the @Published array named items:

publi         


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