Releases: UWAppDev/SwiftUI-FoodTracker
Swift Playgrounds 4
Try out the SwiftUI 3 Food Tracker app in either Swift Playgrounds 4 or Xcode!
Session 3: Define Data Model
Learn how to create struct
s, handle Optional
s, and check program correctness using XCTest framework.
Watch the tutorial here: https://youtu.be/VShC0kUcVgA
For more, please visit https://uwapp.dev
Resources
Source Code: https://github.com/UWAppDev/SwiftUI-FoodTracker
Data You Can Trust: https://developer.apple.com/videos/play/wwdc2018/222/
Session 2: Intro to Interactions and Data Flow
Learn the basics of how data flows through SwiftUI, how to implement buttons with multiple behaviours, using SF Symbols, and how to bind view structs together.
Watch the tutorial here: https://www.youtube.com/watch?v=he2Suk9Cd_4
For more, please visit https://uwapp.dev
Resources
- WWDC session on Data Flow Through SwiftUI: https://developer.apple.com/videos/play/wwdc2019/226/
- SF Symbols App from Human Interface Guidelines: https://developer.apple.com/design/human-interface-guidelines/sf-symbols/overview/
Session 1: Build a Basic UI
Learn how to build a simple screen in SwiftUI by using View, Modifiers, VStack, and the Inspector. Importing a Swift Package through Swift Package Manager to use additional modifiers for further customization.
Watch the tutorial here: https://youtu.be/8WHc-MCND_M
For more, please visit https://uwapp.dev
Resources
- SwiftUI-Introspect: https://github.com/siteline/SwiftUI-Introspect