Lesson 1
State Management in iOS
Master basic iOS state management and data persistence: Understand @State, @Observable, data structures, UI updates, and persisting data.
Course
In this course, you'll master data management and persistence in iOS 17+ using Swift, SwiftUI, and SwiftData. You will start with the basics of creating views and managing state with @State, @Binding, and @EnvironmentObject. As you progress, you'll learn to define data models and schemas, implement CRUD operations, and manage related data. Advanced topics include data migrations for managing data models. Through hands-on exercises and real-world examples, you'll build several data-driven iOS applications.
In this course, you'll master data management and persistence in iOS 17+ using Swift, SwiftUI, and SwiftData. You will start with the basics of creating views and managing state with @State, @Binding, and @EnvironmentObject. As you progress, you'll learn to define data models and schemas, implement CRUD operations, and manage related data. Advanced topics include data migrations for managing data models. Through hands-on exercises and real-world examples, you'll build several data-driven iOS applications.
Beginner
4 weeks
Real-world Projects
Completion Certificate
Last Updated June 28, 2024
Lesson 1
Master basic iOS state management and data persistence: Understand @State, @Observable, data structures, UI updates, and persisting data.
Lesson 2
Dive into the essentials of SwiftData for iOS, learning about model management, data operations, queries, and optimizing data persistence strategies.
Lesson 3
Explore SwiftData's model relationships, including one-to-one, one-to-many, and many-to-many relationships, and learn to create, query, and delete related data.
Lesson 4
Explore SwiftData database migrations, schema updates, and how to manage data model changes without losing data through practical examples.
Lesson 5 • Project
Build "SwiftBites," a SwiftUI app using SwiftData to manage recipes. Show your mastery of CRUD operations, data models, queries, and relationships by creating, categorizing, and searching recipes.
Senior Technical Content Developer at Udacity
Valerie is a Sr. Technical Content Developer at Udacity who has developed and taught a broad range of computing curricula for multiple colleges and universities. She is a former professor and software engineer for over 10 years specializing in web, mobile, voice assistant, and full-stack application development.
Combine technology training for employees with industry experts, mentors, and projects, for critical thinking that pushes innovation. Our proven upskilling system goes after success—relentlessly.
Demonstrate proficiency with practical projects
Projects are based on real-world scenarios and challenges, allowing you to apply the skills you learn to practical situations, while giving you real hands-on experience.
Gain proven experience
Retain knowledge longer
Apply new skills immediately
Top-tier services to ensure learner success
Reviewers provide timely and constructive feedback on your project submissions, highlighting areas of improvement and offering practical tips to enhance your work.
Get help from subject matter experts
Learn industry best practices
Gain valuable insights and improve your skills
Unlimited access to our top-rated courses
Real-world projects
Personalized project reviews
Program certificates
Proven career outcomes
Full Catalog Access
One subscription opens up this course and our entire catalog of projects and skills.
Average time to complete a Nanodegree program
(1132)
4 months
, Intermediate
(592)
2 months
, Beginner
(588)
3 months
, Beginner
(729)
3 months
, Intermediate
(1194)
2 months
, Beginner
(909)
4 months
, Intermediate
(1184)
3 months
, Intermediate
(34)
5 months
, Advanced
(1309)
4 months
, Beginner
(87)
4 months
, Advanced
(781)
4 months
, Advanced
(268)
2 months
, Beginner
(957)
6 months
, Beginner
(449)
4 months
, Intermediate
(269)
3 months
, Intermediate
(265)
2 months
, Beginner
iOS Application Data with SwiftData
(1132)
4 months
, Intermediate
(592)
2 months
, Beginner
(588)
3 months
, Beginner
(729)
3 months
, Intermediate
(1194)
2 months
, Beginner
(909)
4 months
, Intermediate
(1184)
3 months
, Intermediate
(34)
5 months
, Advanced
(1309)
4 months
, Beginner
(87)
4 months
, Advanced
(781)
4 months
, Advanced
(268)
2 months
, Beginner
(957)
6 months
, Beginner
(449)
4 months
, Intermediate
(269)
3 months
, Intermediate
(265)
2 months
, Beginner