What is the point of setRetainsRegisteredObjects :?

Why do I want to set this to YES? Who cares? Should I worry about this?

+5
source share
2 answers

Worry? I don’t know, are you interested in wasting time?

You only play with this particular context attribute when you want to do your own memory management in Core Data (which you almost never do). I had to look at this simply to remember what it was because I had not used it for years.

, , . .

, , , 90% . , , .

, , . , Core Data Mac . .

-3

setRetainsRegisteredObjects: YES , . , ( ) . (, , ), (MOC) .

setRetainsRegisteredObjects: - YES , .

, @TechZen - , . , MOC, , .

+10

All Articles