Develop_in_Swift_Tutorials_Educator_Guide
Develop_in_Swift_Tutorials_Educator_Guide
A tutorial A wrap-up
• Coding a project, ranging from an app • Review of concepts
prototype to a fully functioning app • Ideas for extending an app
• Building on prior knowledge, getting • Suggestions for how to apply skills
progressively more challenging in a different context, often by
creating a new project
Choose your approach: You can present the content linearly, or you can incorporate other text,
documentation, tutorials, videos, and projects to fit your needs. One option is to have learners
complete the tutorial independently, then choose items from the “Continue practicing” section to
complete together, allowing learners to work collaboratively and ask questions.
SwiftUI foundations
Get familiar with the tools and technologies you ll use to create apps.
Views, Learn how to build a custom view • Arguments and • Foreground style • SF Symbols 1.5 hrs
structures, to create a multiday weather parameters • Image • Stored properties
and forecast. In your view, you ll use • Bool • Initializers • String interpolation
properties properties to customize the • Computed properties • Int • Structures
display for each day. • Custom subviews • HStack and VStack • Subviews
• Font • Returning a value • Type annotation
Layout Build two onboarding screens for • Accent color • Font • TabView 1.5 hrs
and style an iOS app to learn useful tools • Arrays • Frames • Transparency
for putting views where you want • Borders • Gradient • Type inference
them onscreen and inspecting • Brightness • Image • ZStack
Buttons Explore adding buttons to your • Animation • Disabling controls • Range operator 1.5 hrs
and state apps. Learn about Swift closures • Aspect ratio • Dynamic sizing • Resizable images
and their relationship to buttons. • Assignment operator • Equality operator • @State
Lists and Create a dynamic interface that • Arrays • Disabling • Symbol rendering 1.5 hrs
text fields stores a set of items in an array • Adding and removing autocorrection modes
and displays them using lists. from arrays • Clip shapes • Ternary conditional
Use text fields and bindings to • Bindings • ForEach operator
let people enter text. • Buttons with • List • TextField
Custom types Define your first data • Creating a type to contain • Grid and GridRow • Running tests 1 hr
and Swift model by making your own your app s logic • Identifiable and UUID • Swift file creation
Testing custom types, and prove • Creating enum types • .opacity and
they work correctly with • Creating struct types .disabled
unit tests. Then use your • Creating unit tests
custom types to keep • Fixing test failures
track of scores in a game.
Models and Build a list of your friends • Calendar • DatePicker • @Query macro 1.5 hrs
persistence birthdays, using SwiftData • Classes • @Environment • Safe area
to save and retrieve that • Data models • Frameworks • SwiftData context
data across launches. • Date • @Model macro
• Date formatting • NavigationStack
Observation Power an alphabet game • Dictionary • Sharing your types • Task.sleep 2 hrs
and shareable using Observation. Share • Documentation comments through the environment • Xcode s Quick Help
data models a complex data model with • @Observable and jump bar
many independent views. • onChange • zip
’
’
’
Machine learning
Use machine learning technologies to enhance your apps.
Model Use Xcode s Create • Create ML tool in • Model accuracy • Training, validation, 1 hr
training with ML tool to train a Xcode • Previewing output and testing data
Create ML model to estimate the • CSV files • Xcode developer tools
anticipated difficulty • Machine learning
of a hike using algorithms
provided data.