What is the difference between List and ForEach in SwiftUI?

前端 未结 0 730
自闭症患者
自闭症患者 2021-02-11 13:42

I know SwiftUI does not support currently regular for loops but instead provide something called ForEach but what is the difference between that and a List?

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