Core Data One to Many Relationship & Core Data Delete Rules : SwiftUI

Опубликовано: 20 Январь 2022
на канале: Recoding
6,958
118

Relationship in Core Data is always a better choice as it help developers to separate data into different tables also it allow user to a safe access of require data not the full access of data to the view if not require it help to safeguard the data when not in use.

As when developer perform fetch request it can able to perform whole Data search from the Core Data at once so you don’t always need to provide unnecessary data fetching for each views you can easily pass into another views when necessary. When fetching for relationship developer can able to fetch according to their choice what table they want to access and what not.

In this video we gonna learn how to use Core Data having a One to Many Relationship.

Recommended Videos :
1. Intro to Core Data :    • Introduction to Core Data using Swift...  
2. Core Data with MVVM Architecture :    • Core Data MVVM Architecture (CRUD Met...  
3. Core Data with One to One Relationship :    • Core Data One to One Relationship And...  

Source Code : https://github.com/recoding-io/swiftu...

Checkout full playlist :
1. SwiftUI 3.0 Tutorials :    • New Button Customization Styles In Sw...  
2. SwiftUI Tutorials :    • SwiftUI : Build Document OCR App usin...  
3. Apple Persistence Storage :    • Apple Persistent Storage Tutorial  

Timeline
Intro (00:00)
Core Data with One to Many Relationship (0:28)
What is One to Many Relationship (1:15)
Diagram to One to Many Relationship (1:39)
Example of One to Many Relationship (2:01)
How it Works Behind the Scene (2:31)
App Demo (3:14)
Setting up Entity and Relationship (5:21)
Setting up NSManagedObject Class (7:37)
Creating App Department View (10:33)
Setting up Content View (12:02)
Creating App Employee View (15:21)
Deleting For Data (22:43)
Delete Rules Consideration in One to Many Relationship (24:48)

Support us on
☕ @Buy me a coffee - https://www.buymeacoffee.com/recoding
🎗@Patreon -   / recoding_io  

Follow us on
📝 @Medium -   / recoding  
🐦 @Twitter -   / recoding_io  
🦄 @Dev.to - https://dev.to/recoding
📌 @Pinterest.com -   / recoding_io  
🔗 @LinkedIn.com -   / recoding-io  
#️⃣ @Hashnode - https://recoding.hashnode.dev/


Смотрите видео Core Data One to Many Relationship & Core Data Delete Rules : SwiftUI онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Recoding 20 Январь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,95 раз и оно понравилось 11 людям.