I try to delete some managedobjects by calling in a for loop
[man开发者_如何学编程agedObject delete];
and at of the loop, I call
[managedObjectContext save:nil];
At the above line, the app crashes and goes nowhere from there. Any ideas?
Thanks
Run in the debugger and make sure you are breaking on objc_exception_throw
. If you can't catch the break point or produce a crash log you are not going to find much help here.
精彩评论