Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udacity

iOS Application Data with SwiftData

via Udacity

Overview

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.

Syllabus

  • State Management in iOS
    • Master basic iOS state management and data persistence: Understand @State, @Observable, data structures, UI updates, and persisting data.
  • Data Persistence with SwiftData
    • Dive into the essentials of SwiftData for iOS, learning about model management, data operations, queries, and optimizing data persistence strategies.
  • 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.
  • SwiftData Schema Updates and Migration
    • Explore SwiftData database migrations, schema updates, and how to manage data model changes without losing data through practical examples.
  • 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

Valerie Scarlata

Reviews

Start your review of iOS Application Data with SwiftData

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.