What is the difference between List and ForEach in SwiftUI?

前端 未结 0 1231
我寻月下人不归
我寻月下人不归 2021-02-11 13:48

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?

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