Are you looking to master data persistence in iOS development using SwiftUI? Do you want to learn Core Data, UserDefaults, Keychain storage, File System storage, and Caching to build efficient, secure, and high-performance mobile applications?
This course is designed for iOS developers of all levels who want to understand and implement data storage techniques in SwiftUI applications. Whether you're a beginner exploring iOS persistence or an experienced developer looking to optimize your app’s data management, this course covers everything you need.
What You’ll Learn:
Are you looking to master data persistence in iOS development using SwiftUI? Do you want to learn Core Data, UserDefaults, Keychain storage, File System storage, and Caching to build efficient, secure, and high-performance mobile applications?
This course is designed for iOS developers of all levels who want to understand and implement data storage techniques in SwiftUI applications. Whether you're a beginner exploring iOS persistence or an experienced developer looking to optimize your app’s data management, this course covers everything you need.
What You’ll Learn:
Core Data – Learn how to set up, manage relationships, and use NSManagedObject for persistent storage.UserDefaults & AppStorage – Store small user preferences and settings with SwiftUI’s built-in property wrapper.Keychain Storage – Securely store sensitive information such as passwords and authentication tokens.File System Storage – Understand the Documents, Caches, and Temporary Directories for managing images, PDFs, and structured data.Caching Strategies – Implement memory and disk caching to optimize performance and reduce network load.Practical Projects – Apply these techniques in real-world scenarios, such as saving user data, handling authentication, and improving app efficiency.
Why Take This Course?
Hands-on Learning: We build multiple projects to apply each concept in real-world applications.
Step-by-Step Approach: No fluff—just clear, practical explanations to help you understand persistence from the ground up.
SwiftUI-Focused: Learn modern, declarative UI development while integrating data persistence techniques.
Full-Scale Data Management: Learn when and why to use different storage solutions and how to implement them correctly.
By the end of this course, you'll have the confidence to implement robust data persistence strategies in your own iOS apps and optimize performance while ensuring data security.
Join now and take your SwiftUI persistence skills to the next level.
Are you developing an iOS app and need a reliable way to store data? In this video, we explore SQLite, the built-in database engine for iOS, and why it's a great choice for mobile apps.
What You'll Learn:
What is SQLite?
Why SQLite is ideal for offline data storage
How it compares to Core Data and other database solutions
The benefits and limitations of using SQLite in iOS development
Whether you're building a to-do list, a note-taking app, or any application that requires structured data storage, SQLite offers a lightweight, efficient, and scalable solution. Watch now to learn how to integrate SQLite into your iOS app.
This video provides a step-by-step guide to implementing SQLite in an iOS app using Swift and SwiftUI. You will build a fully functional application that allows users to add, view, and manage a list of users with a name and phone number.
What You Will Learn:
How to integrate SQLite into an iOS project
How to store, retrieve, update, and delete user data using SQLite
How to connect SQLite with SwiftUI to update the user interface dynamically
How to use SQL queries in Swift for efficient database operations
Included in the Course:
Full source code that can be copied, pasted, and run immediately
Detailed explanations of each part of the code
Best practices for managing SQLite databases in iOS applications
This video is designed for iOS developers who want to implement local data storage efficiently. By the end of the video, you will have a working SQLite-powered iOS app and the knowledge to integrate SQLite into your own projects.
This concise guide provides essential SQLite queries for creating tables, inserting, updating, retrieving, and deleting data. Perfect for beginners, it includes clear syntax examples to help you efficiently manage databases in your applications.
This tutorial provides a comprehensive explanation of foreign keys in SQLite. It covers the purpose of foreign keys, how they establish relationships between tables, and their role in maintaining data integrity. The tutorial includes practical examples of implementing foreign keys, enforcing constraints, and using cascading actions such as ON DELETE CASCADEand ON DELETE RESTRICT. Additionally, it explains how to enable foreign key support in SQLite and demonstrates how to retrieve related data using JOIN queries. By the end of the tutorial, you will understand how to effectively use foreign keys to create structured and reliable databases.
This tutorial provides a step-by-step guide to creating relationships between tables in SQLite. It covers different types of relationships, including one-to-one, one-to-many, and many-to-many, using foreign keys. The tutorial explains how to enforce data integrity, retrieve related data using JOIN queries, and apply cascading actions for automatic updates and deletions. By the end of the tutorial, you will have a clear understanding of how to structure relational databases effectively in SQLite.
Furthermore, I have added a 'Joins.docx' file as a resource. If you are a developer who isn't knowledgeable about inner joins, left joins, etcetera, this is a great resource to help explain them.
What is Core Data? How does it work with SwiftUI? And why is it one of the best ways to persist data in your iOS app? This tutorial will explain everything you need to know.
What You’ll Learn:
What Core Data is and how it works
Why Core Data is a great choice for data persistence
How to integrate Core Data into a SwiftUI project
Fetching, adding, and deleting data with Core Data
Best practices for working with Core Data efficiently
Whether you're a beginner or an experienced SwiftUI developer, this tutorial will provide a clear understanding of Core Data and how to use it in your apps.
By the end of this video, you will have a fully functional SwiftUI app that saves and loads data using Core Data.
In this tutorial, you will learn how to add Core Data to an existing Xcode project and set up a fully functional data persistence system in SwiftUI. If you didn't enable Core Data when creating your project, don't worry—this video will walk you through the process from start to finish.
n this video, we break down the three key components of the Core Data stack: Managed Object Model, Persistent Store Coordinator, and Managed Object Context. You'll learn how they work together to define, store, and manage data efficiently in your Swift and SwiftUI apps.
What You'll Learn:
What the Managed Object Model is and how it defines your data structure.
How the Persistent Store Coordinator connects your data model to the database.
Why the Managed Object Context acts as a temporary workspace for creating, editing, and saving data.
By the end of this tutorial, you'll have a clear understanding of how Core Data manages persistence and how to use it effectively in your app.
In this video, we take a deep dive into a complete Core Data and SwiftUI app, explaining every line of code in detail. You will learn how Core Data integrates with SwiftUI, including:
Setting up the Persistence Controller
Using @FetchRequest to fetch and display data
Adding, deleting, and managing Core Data objects
Understanding NSPersistentContainer and viewContext
By the end of this video, you will have a clear understanding of how to build and manage a SwiftUI app with Core Data. This tutorial is ideal for both beginners and those looking to improve their Core Data skills.
This video covers how to create relationships between Core Data entities and generate NSManagedObject subclasses in Swift. You will learn how to define one-to-many and many-to-one relationships, configure delete rules, and manage data persistence effectively. The video also explains the role of NSManagedObject subclasses, when you need to generate them manually, and how Codegen settings impact Core Data class generation.
By the end of this tutorial, you will have a clear understanding of how to structure your Core Data model and interact with entities in SwiftUI.
This video breaks down the difference between CoreDataClass and CoreDataProperties in Core Data. Learn why Core Data generates these files, how they relate to NSManagedObject, and how Codegen settings impact them.
What You’ll Learn:
Purpose of CoreDataClass and CoreDataProperties
How attributes and relationships are handled
How Codegen affects file generation
Best practices for managing Core Data models
Perfect for iOS developers working with Core Data in Swift.
In this video, we explore UserDefaults in Swift, a simple and efficient way to store user preferences, settings, and small amounts of data. You'll learn how to save and retrieve values, update UI elements dynamically using @AppStorage, and ensure user preferences persist across app launches. By the end, you'll have a solid understanding of how to integrate UserDefaults into your SwiftUI apps.
In this video, we explore the basics of @AppStorage property wrapper.
This video explains how to store data using the iOS file system in Swift. Learn the differences between the Documents, Caches, and Temporary directories, when to use each, and how they impact data persistence and iCloud backup. Understand the best practices for storing user-generated content, caching temporary files, and managing large media assets efficiently. By the end, you'll know which storage option is best for your app’s needs.
This video explains the Documents directory in Swift, a key part of the iOS file system for persistent storage. Learn how it works, why it’s ideal for user-generated content, and how it integrates with iCloud backup to keep data secure across devices. We’ll also cover best practices for storing files, when to use it, and how to manage storage efficiently.
In this video, you'll learn how to save, retrieve, and delete images in SwiftUI using the Documents directory for persistent storage. We'll walk through selecting an image from the photo library, saving it locally, displaying it in the app, and managing storage with deletion. This is essential for handling profile pictures, offline media, and document management in iOS apps.
In this video, we explore Temporary Directories in SwiftUI, explaining how they work and when to use them for short-term file storage. You'll learn how to save, retrieve, and automatically delete temporary files, and why iOS removes them under certain conditions. We'll also cover best practices for handling temporary images, text files, and downloadsin your app. Perfect for developers looking to manage temporary data efficiently in SwiftUI!
This video explains Keychain persistence in Swift, a secure way to store sensitive data like passwords, authentication tokens, and encryption keys. Learn how Keychain provides encryption, secure access control, and data persistenceeven after app deletion. We’ll cover when to use Keychain, how it compares to UserDefaults and file storage, and best practices for protecting user data in iOS apps.
In this video, we explore how to securely store, retrieve, and delete user credentials using Apple’s Keychain in a SwiftUI app. Learn how to manage login credentials, authentication tokens, and sensitive data while ensuring security and persistence. We’ll walk through real-world examples, including handling multiple user accounts and preventing duplicate entries. Perfect for secure authentication in iOS apps.
In this video, we explore how caching works in iOS development with SwiftUI, covering both memory cache (NSCache) and disk cache (Caches Directory). Learn how to store and retrieve images efficiently, reduce network requests, and improve app performance. We'll also demonstrate how to clear cache, force reloads, and verify that cached data is being used. Perfect for developers looking to optimize data handling in SwiftUI apps!
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.