Core Data One to One Relationship And Delete Rules (Deny, Nullify, Cascade & No Action) | SwiftUI

Опубликовано: 10 Август 2026
на канале: Recoding
1,813
50

Core Data Relationship is one of the interesting topic for its users as it enables more variety data saving and handling capabilities.

Relationships helps to keep data organize easily and more understandable by developers.

Creating Relationship in Core Data is much more easier that developer think and also more powerful as compared with other type of persistence storage techniques.

In this video we gonna learn about One to One Relationship using Core Data, and also learn some Delete Rules provided inside Code Data like Deny, Nullify, Cascade & No Action.

Recommended Videos :
1. Intro to Core Data :    • Introduction to Core Data using SwiftUI | ...  
2. Swipe Action :    • SwiftUI Swipe Action Modifier using List |...  
3. New Buttons in SwiftUI 3.0 :    • New Button Customization Styles In SwiftUI...  
4. Core Data With MVVM Architecture :    • Core Data MVVM Architecture (CRUD Method) ...  

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

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

Timeline
Intro (00:00)
Core Data with One to One Relationship (0:28)
What is Relationship (1:01)
One to One Relationship (1:31)
One to One Relationship Example (1:49)
What is Inverse Relationships (2:18)
What is Observable Object (4:02)
Types of Delete Rules in Core Data (3:09)
App Demo (4:05)
Video Recommendation (5:19)
Creating Entity and Establishing Relationship (6:07)
Creating Add Person View (8:50)
Create Image Picker View (10:12)
Create Add Person Function (15:48)
Creating Content View (17:21)
Create Add License View (21:13)
Create Add License Function (24:48)
Create Delete Person Function (29:09)
Delete Rule Nullify (30:22)
How to show Core Data SQLite File on Finder (30:48)
Delete Rule Cascade (33:05)
Delete Rule Deny (33:30)

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/