Udacity part of Accenture logo

iOS Application Data with SwiftData

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

  • 3 weeks

  • Last Updated July 29, 2024

Skills you'll learn:

iOS DevelopmentSwift data persistence

Prerequisites:

Swift

Beginner

3 weeks

Last Updated July 29, 2024

Skills you'll learn:

iOS Development • Swift data persistence • Swift classes • Application state management

Prerequisites:

Swift

Course Lessons

Lesson 1

State Management in iOS

Master basic iOS state management and data persistence: Understand @State, @Observable, data structures, UI updates, and persisting data.

Lesson 2

Data Persistence with SwiftData

Dive into the essentials of SwiftData for iOS, learning about model management, data operations, queries, and optimizing data persistence strategies.

Lesson 3

SwiftData Model Relationships

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

SwiftData Schema Updates and Migration

Explore SwiftData database migrations, schema updates, and how to manage data model changes without losing data through practical examples.

Lesson 5 • Project

SwiftBites

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.

Taught By The Best

Photo of Valerie Scarlata

Valerie Scarlata

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.

The Udacity Difference

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

Enroll in iOS Application Data with SwiftData. Choose the plan that works for you

All Access monthly

  • Unlimited access to our top-rated courses

  • Personalized Career Services

  • Cancel Anytime

  • Real-world projects

  • Personalized project reviews

  • Program certificates

Best Value

All Access bundle1

  • All the same great benefits as our monthly plan

  • The most cost-effective way to develop the skills you want

  1. 1Discount applies to the first 4 months of membership, after which plans are converted to month-to-month.

Your subscription also includes:

C++

(809)

3 months

Intermediate

SQL

(288)

2 months

Beginner

Udacity Accenture logo

Company

  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

© 2011-2025 Udacity, Inc. "Nanodegree" is a registered trademark of Udacity. © 2011-2025 Udacity, Inc.
We use cookies and other data collection technologies to provide the best experience for our customers.