CoreData Creating a Notes App | Swift UIKit | Xcode Tutorial
Introducing CoreData in UIKit 🚀 In this video, we’ll explore Core Data in UIKit by building a simple Notes app. You’ll learn how to save, retrieve, and delete notes using Core Data, giving your app the power to store data locally. Perfect for beginners who want to create persistent data storage in their iOS apps! What You’ll Learn: Setting Up Core Data: Initialize Core Data and define a data model to store your notes. Saving Data Locally: Create and save notes in Core Data, making them accessible even after closing the app. Fetching Data: Retrieve saved notes from Core Data to display in a table view. Deleting Entries: Add swipe-to-delete functionality to manage notes. By the end of this tutorial, you’ll be equipped to create Core Data-backed apps in UIKit, enabling your users to save, retrieve, and manage their data with ease! 🎉 Clone or download the full demo project here: 📁 GitHub Repo: https://github.com/NDCSwift/UIKitCoreDataNoteTakingApp 🔥 Download My Project Files & More! 🔥 👉 Get the source code for this project & other Swift resources here: 🔗 https://ndcswift.github.io/Swift-Projects/ Subscribe for more bite-sized lessons and full tutorials on Swift, SwiftUI, and UIKit. Links: Xcode: https://developer.apple.com/xcode/ Swift Documentation: https://www.swift.org/documentation/ Timestamps: 0:00 Intro 0:20 Setting up our project 0:56 CoreData in Xcode 1:28 Creating an entity 2:35 Setting up our UI 4:43 Adding CoreData & Context 5:56 Saving our notes 8:10 Putting our Notes in an array 8:38 Fetching our Notes 10:15 Setting up our tableView & Cells 14:19 Using our button to save notes 17:40 Cannot find Note in Scope error 19:22 Testing on the simulator 20:45 Removing data from the table 24:45 Testing Removal on the simulator (I'm cooked) 26:03 Wrap up & outro
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.