Last active
November 4, 2019 08:14
-
-
Save 623637646/5bfd51ffa340331208b6dfed65e75b37 to your computer and use it in GitHub Desktop.
CoreData Object release 行为
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Context不保存,NSManagedObject都不释放 | |
NSManagedObject没有循环引用,只要Context保存,就释放 | |
NSManagedObject存在循环引用,必须Context reset,才会释放 | |
可以写个test case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment