SwiftUI Navigation with complex View Model (Defer creation until actually needed)

前端 未结 0 1475
春和景丽
春和景丽 2020-12-01 03:41

this SwiftUI app uses a NavigationView with one dedicated view model for each of the two involved views.

What bothers me is the creation of the second view model (

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