WWDC23: Model your schema with SwiftData | Apple

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • Learn how to use schema macros and migration plans with SwiftData to build more complex features for your app. We’ll show you how to fine-tune your persistence with @Attribute and @Relationship options. Learn how to exclude properties from your data model with @Transient and migrate from one version of your schema to the next with ease.
    To get the most out of this session, we recommend first watching "Meet SwiftData" and "Build an app with SwiftData" from WWDC23.
    Explore related documentation, sample code, and more:
    SwiftData: developer.appl...
    Adopting SwiftData for a Core Data app: developer.appl...
    Discover Observation in SwiftUI: developer.appl...
    Build an app with SwiftData: developer.appl...
    Meet SwiftData: developer.appl...
    Migrate to SwiftData: developer.appl...
    Dive deeper into SwiftData: developer.appl...
    00:00 - Intro
    01:41 - Utilizing schema macros
    05:30 - Evolving schemas
    08:56 - Wrap-up
    More Apple Developer resources:
    Video sessions: apple.co/Video...
    Documentation: apple.co/Devel...
    Forums: apple.co/Devel...
    App: apple.co/Devel...

Комментарии •