Загрузка...

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
https://youtu.be/RseJTVQZ1aw

Part 3: Saving and Opening PDF Files with PDFKit in SwiftUI
https://youtu.be/cP7UVhyPmfY

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-development-swiftui-course
👨‍💻 my Core Data and SwiftUI course https://learn.swiftyplace.com/swiftui-core-data-mastery-course
👩🏻‍💻 SwiftUI layout course
https://learn.swiftyplace.com/swiftui-layout-course
👩🏻‍💻 Combine Framework course
https://learn.swiftyplace.com/the-swifty-combine-framework-course

⬇️ Download project files: https://github.com/gahntpo/ReadingListApp
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

Видео Building a Reading List App (Part 1) - Data Modelling and Local Data Storage Techniques канала Karin Prater
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять