Best practices for SwiftUI state variable encapsulation/ Too many state variables in a complicated view

后端 未结 0 667
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 06:33

I\'m use to have a class for several complex subviews in a view. Each can encapsulate it\'s own state. SwiftUI will let you refactor a long view function into subviews but I ha

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