Building a Reading List App (Part 1) - Data Modelling and Local Data Storage Techniques

Описание к видео Building a Reading List App (Part 1) - Data Modelling and Local Data Storage Techniques

In this video, I'm kicking off a new series where we'll build a webpage reading list app for iOS. We're diving deep into Swift file management, showing you how to open files, write to them, and save data locally using Codable and JSON files. You'll learn all about working with file locations and managing user data efficiently.

I'll walk you through the process of creating a data model, setting up a view model, and implementing CRUD operations for your reading list. We'll cover everything from designing the UI to persisting data between app launches. By the end of this video, you'll have a solid foundation for handling local data storage in your iOS apps.

This is just the beginning! In the upcoming parts of the series, we'll expand on this base, adding web views, PDF handling, and more. So, whether you're new to iOS development or looking to sharpen your skills, this series has got you covered. Don't forget to like, comment, and subscribe to catch the next parts of this WebReader app tutorial!

Part 2: Loading a Web View in SwiftUI with WKWebview and UIViewRepresentable
   • Loading a Web View in SwiftUI with WK...  

Part 3: Saving and Opening PDF Files with PDFKit in SwiftUI
   • Saving and Opening PDF Files with PDF...  

If you liked what you learned and you want to see more, check out one of my courses!
👨‍💻 my macOS development course https://learn.swiftyplace.com/macos-d...
👨‍💻 my Core Data and SwiftUI course https://learn.swiftyplace.com/swiftui...
👩🏻‍💻 SwiftUI layout course
https://learn.swiftyplace.com/swiftui...
👩🏻‍💻 Combine Framework course
https://learn.swiftyplace.com/the-swi...

⬇️ Download project files: https://github.com/gahntpo/ReadingLis...


Overview:
00:00 Introduction to Data Handling in Swift
01:17 Setting Up the Project
01:29 Defining the Data Model
06:13 Implementing Identifiable and Codable Protocols
10:36 Building the User Interface
13:48 Creating the Reading Detail View
18:17 Adding and Editing Reading Items
22:55 Implementing the Reading ViewModel
25:06 Binding Data and Handling Errors
26:44 Creating and Saving New Items
29:39 Saving Data to Disk
34:58 Loading Data from Disk
39:57 Handling App Lifecycle Events
45:25 Conclusion and Next Steps

#SwiftUI #filemanagement #localstorage

Комментарии

Информация по комментариям в разработке