·swiftdata
</>

swiftdata

SwiftData を使用してデータの永続性を実装、レビュー、または改善します。 @Attribute、@Relationship、@Transient、@Unique、または @Index を使用して @Model クラスを定義するときに使用します。 @Query、#Predicate、FetchDescriptor、または SortDescriptor を使用してクエリを実行する場合。 SwiftUI またはバックグラウンドで @ModelActor で動作するように ModelContainer と ModelContext を構成する場合。 VersionedSchema および SchemaMigrationPlan を使用してスキーマの移行を計画する場合。 CloudKit を ModelConfiguration と同期するように設定するとき。または、Core Data と共存または Core Data から移行する場合。

84インストール·20トレンド·@dpearson2699

インストール

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swiftdata

swiftdata のインストール方法

コマンドラインで swiftdata AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swiftdata
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: dpearson2699/swift-ios-skills。

Persist, query, and manage structured data in iOS 26+ apps using SwiftData with Swift 6.2.

Apply @Model to a class (not struct). Generates PersistentModel, Observable, Sendable.

@Attribute options: .externalStorage, .unique, .spotlight, .allowsCloudEncryption, .preserveValueOnDeletion (iOS 18+), .ephemeral, .transformable(by:). Rename: @Attribute(originalName: "oldname").

SwiftData を使用してデータの永続性を実装、レビュー、または改善します。 @Attribute、@Relationship、@Transient、@Unique、または @Index を使用して @Model クラスを定義するときに使用します。 @Query、#Predicate、FetchDescriptor、または SortDescriptor を使用してクエリを実行する場合。 SwiftUI またはバックグラウンドで @ModelActor で動作するように ModelContainer と ModelContext を構成する場合。 VersionedSchema および SchemaMigrationPlan を使用してスキーマの移行を計画する場合。 CloudKit を ModelConfiguration と同期するように設定するとき。または、Core Data と共存または Core Data から移行する場合。 ソース: dpearson2699/swift-ios-skills。

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swiftdata
カテゴリ
</>開発ツール
認証済み
初回登録
2026-03-08
更新日
2026-03-10

Browse more skills from dpearson2699/swift-ios-skills

クイックアンサー

swiftdata とは?

SwiftData を使用してデータの永続性を実装、レビュー、または改善します。 @Attribute、@Relationship、@Transient、@Unique、または @Index を使用して @Model クラスを定義するときに使用します。 @Query、#Predicate、FetchDescriptor、または SortDescriptor を使用してクエリを実行する場合。 SwiftUI またはバックグラウンドで @ModelActor で動作するように ModelContainer と ModelContext を構成する場合。 VersionedSchema および SchemaMigrationPlan を使用してスキーマの移行を計画する場合。 CloudKit を ModelConfiguration と同期するように設定するとき。または、Core Data と共存または Core Data から移行する場合。 ソース: dpearson2699/swift-ios-skills。

swiftdata のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swiftdata インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/dpearson2699/swift-ios-skills