What are the different delete rules that a relationship can have? Which one takes ownership?



What are the different delete rules that a relationship can have? Which one takes ownership?..

Answer / Saurabh Agarwal

"Cascade", "Nullify", and "Deny" are the three delete rules for relationships in Core Data. "Cascade" deletes the related objects when the parent object is deleted. "Nullify" sets the relationship to nil for the related objects when the parent object is deleted. "Deny" prevents the parent object from being deleted if it has related objects. Among these, "Cascade" takes ownership of the related objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is block in ios swift?

1 Answers  


What is a struct?

1 Answers  


What are the limits of accessibility ?

1 Answers  


What is atomic and nonatomic in iOS operating system? What is run loop in iOS ?

1 Answers   CDC,


What is ios architecture?

1 Answers  


How can mobile application errors be prevented?

1 Answers  


What is code signing in iOS operating system?

1 Answers   CDC,


What are the features is ios 12.1?

1 Answers  


 Which app specific objects store the app's content?

1 Answers  


What are transient properties?

0 Answers  


What is bundle id?

1 Answers  


What is mvvm in ios?

1 Answers  


Categories