SwiftData Guide: Declarative Data Persistence for SwiftUI Apps

Learn how to model, query, and persist application data seamlessly in SwiftUI using SwiftData's modern, declarative API.

4.6 (278) ⏱ 38 دقيقة 📚 8 درس 🎧 النسخة الصوتية

حول هذه الدورة

Managing data in modern iOS applications shouldn't require complex boilerplate or legacy database frameworks. SwiftData offers a modern, declarative way to persist, query, and manage your application's state directly within SwiftUI. This written course takes you from data persistence fundamentals to structuring complex data relationships. You will gain a clear understanding of how to define data models, write type-safe queries, and handle database updates as your application evolves. By focusing on practical, modern practices, you will learn how to build reliable, data-driven applications that load and store information efficiently. What you'll learn: - Understand the foundational concepts of declarative data persistence and the SwiftData architecture. - Define robust data models using modern macros and manage relationships, including one-to-many and many-to-many configurations. - Query and filter data efficiently using type-safe predicates and sort descriptors directly within SwiftUI views. - Configure container environments, including in-memory configurations designed for seamless testing and SwiftUI Previews. - Implement basic schema migrations to safely update your database structure as your application requirements change. The course begins with essential database terminology and basic model setup before moving step-by-step through relationship modeling, querying, and schema management. You will learn through clear, written explanations and practical code snippets designed for immediate application. This course is designed for beginner to intermediate Swift developers who want to integrate robust data storage into their SwiftUI applications. No prior database administration experience is required. Start writing clean, declarative persistence code today.

ما الذي ستحصل عليه

  • 📜 شهادة إتمام
    أضفها إلى ملفك على LinkedIn
  • 🎧 النسخة الصوتية مضمَّنة
    تعلَّم أثناء تنقُّلك — دون شاشة
  • ♾️ وصول مدى الحياة
    عُد متى شئت، بلا انتهاء
  • 📱 الهاتف أو الكمبيوتر
    يعمل في أي مكان وعلى أي جهاز
  • 💸 استرداد خلال 30 يومًا
    دون أسئلة
  • قصير ومركَّز
    38 دقيقة من المحتوى التطبيقي

المراجعات (4)

خديجة الماجري TN
★ 4 · 2026-05-09T02:59:56+00:00

أنا سعيد جداً لأنني أخذت هذا الطريقة التي تم بها تحليل المفاهيم جعلت من السهل الوصول إليها قيمة كبيرة للجهد

Mia White AU متعلِّم موثَّق
★ 4 · 2025-09-28T03:30:56+00:00

استمتعت بهذا حقا. كانت الأمثلة مفيدة للغاية وجعلت الأفكار المعقدة سهلة الفهم. قيمة عظيمة!

Gila Stern IL
★ 4 · 2025-06-10T10:29:56+00:00

Super practical and well-organized. I loved the real-world applications shown. This is exactly what I was looking for.

يوسف بن خالد الشامسي OM متعلِّم موثَّق
★ 4 · 2025-03-11T18:02:56+00:00

أنا سعيد جداً لأنني أخذت هذا. المحتويات تتدفق منطقياً، وتطبيقات العالم الحقيقي ذات صلة بشكل لا يصدق. عمل رائع!

اكتب مراجعة

سنطلب منك تسجيل الدخول بعد الإرسال — تُحفظ مسودتك.

المتعلمون أخذوا أيضًا

الأسئلة الشائعة

ما الذي أحتاجه لأخذ هذه الدورة؟ +

يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.

كيف يمكنني الدفع؟ +

بالبطاقة عبر Stripe أو بالعملات الرقمية. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.

هل يمكنني استرداد المال؟ +

نعم — استرداد كامل خلال 30 يومًا، دون أسئلة.

إلى متى يستمر وصولي؟ +

إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.

هل سأحصل على شهادة؟ +

نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.

مصمَّم للعاملين في
التقنية التصميم المالية التسويق الرعاية الصحية التعليم الضيافة التصنيع