最近在油管上看到的SwiftUI教程,看着还不错,给大家转发下,不方便上油管的朋友们可以参考下,下面链接就是视频教程大家感兴趣的可以关注下
1、WeSplit APP SwiftUI教程
了解一个SwiftUI APP的基本结构
创建一个表单Tutorial 2/10
添加navigation bar Tutorial 3
SwiftUI修改程序状态 - Tutorial 4
SwiftUI 绑定状态到控件 Tutorial 5
SwiftUI 循环创建views Tutorial 6
SwiftUI读取TextField内容 Tutorial7
SwiftUI表单里创建pickers Tutorial 8
SwiftUI 添加分段选择器 Tutorial 9
SwiftUI 完成WeSplit APP
2、猜国旗APP SwiftUI教程
用stack来管理views – Tutorial 1
Colors and frames – Tutorial 2
渐变 – SwiftUI Tutorial 3
按钮和图片 Tutorial 4
展示alert messages – Tutorial 5
Stacking up buttons Tutorial 6
用alert展示玩家分数 – Tutorial 7
给国旗添加样式 – Tutorial 8
3、Views and Modifiers SwiftUI Tutorial
Why does SwiftUI use structs for views? – Views and Modifiers SwiftUI Tutorial 1/10
What is behind the main SwiftUI view? – Views and Modifiers SwiftUI Tutorial 2/10
Why modifier order matters – Views and Modifiers SwiftUI Tutorial 3/10
Why does SwiftUI use “some View” for its view type? – Views and Modifiers SwiftUI Tutorial 4/10
Conditional modifiers – Views and Modifiers SwiftUI Tutorial 5/10
Environment modifiers – Views and Modifiers SwiftUI Tutorial 6/10
Views as properties – Views and Modifiers SwiftUI Tutorial 7/10
View composition – Views and Modifiers SwiftUI Tutorial 8/10
Custom modifiers – Views and Modifiers SwiftUI Tutorial 9/10
Custom containers – Views and Modifiers SwiftUI Tutorial 10/10
4、BetterRest App SwiftUI Tutorial
1、Entering numbers with Stepper – BetterRest SwiftUI Tutorial 1/7
2、Selecting dates and times with DatePicker – BetterRest SwiftUI Tutorial 2/7
3、Working with dates – BetterRest SwiftUI Tutorial 3/7
4、Training a model with Create ML – BetterRest SwiftUI Tutorial 4/7