iOS 16
1 – The Development Tools, the Learning Approach, and the App Idea
2 – Your First Taste of Swift with Playgrounds
3 – Build Your First App in Swift and SwiftUI
4 – Designing UI Using Stack Views
5 – Introduction to Prototyping
6 – Understanding List and ForEach
7 – Customizing List Views
8 – Displaying Confirmations and Handling List View Selection

1 – The Development Tools, the Learning Approach, and the App Idea
2 – Your First Taste of Swift with Playgrounds

3 – Build Your First App in Swift and SwiftUI

p 80 /
p 81 , An Introduction to SwiftUI
swift UI เริ่มตั้งแต่ 2019 เป็นการ ปป esosystem ใน ios , tv , watch
ควรจะ design app UI หรือ write UI in code
p 82 , ถ้าปทกับ UIKit จะคล้ายๆกัน แต่ swiftUI มีless code
Declarative vs Imperative Programming
java , c++ ,php ,c# , swift = imperative
แต่ SwiftUI เป็น declarative
p 83 , imperative – สั่ง command ให้ computer ทำ
declarative – build structure , element , express logic s describing control flow
p 84 , ถ้าบอกให้ทำ pizza โดยบอกสูตร และขั้นตอนทุกอย่าง – imperative, แต่ถ้าบอกแค่ว่าต้องการแบบหนา หรือ บาง – declarative
declarative – code อ่านง่ายกว่า , less code
Building your first app , using SwiftUI
p 87 , new เลือก interface = swiftUI , lang = swift
use core data , include Tests – ยังไม่ต้อง check
p 88 ,

4 – Designing UI Using Stack Views


5 – Introduction to Prototyping
6 – Understanding List and ForEach
7 – Customizing List Views
8 – Displaying Confirmations and Handling List View Selection