小编Ala*_*ter的帖子

[controllerWillChangeContent:]:发送到解除分配实例的消息

我的ipad应用程序出了问题.

我有一个可以通过两种方式访问​​的视图,如果我以一种方式进行完美的工作.如果我通过另一个进入,它会在保存上下文时崩溃.

我怀疑它是父母的东西(客户的订单) - 我得到一个带有消息的僵尸:

[OrdersByCustomer controllerWillChangeContent:]:当我通过Zombies intstruments运行它时,发送到解除分配的实例0x10102020的消息:

#   Category    Event Type  RefCt   Timestamp   Address Size    Responsible     Library Responsible Caller
0   OrdersByCustomer    Malloc  1   00:35.545.273   0x89cafc0   272 Dentanet    -[CustomersRootController tableView:didSelectRowAtIndexPath:]
1   OrdersByCustomer    Retain  2   00:35.545.357   0x89cafc0   0   Dentanet    -[CustomersRootController tableView:didSelectRowAtIndexPath:]
2   OrdersByCustomer    Retain  3   00:35.545.414   0x89cafc0   0   UIKit   -[UISplitViewController setViewControllers:]
3   OrdersByCustomer    Release 2   00:35.545.434   0x89cafc0   0   UIKit   -[UISplitViewController setViewControllers:]
4   OrdersByCustomer    Retain  3   00:35.546.380   0x89cafc0   0   UIKit   -[UINib instantiateWithOwner:options:]
5   OrdersByCustomer    Retain  4   00:35.546.406   0x89cafc0   0   UIKit   -[UINib instantiateWithOwner:options:] …
Run Code Online (Sandbox Code Playgroud)

memory-management nsfetchedresultscontroller ipad nsmanagedobjectcontext xcode4

3
推荐指数
2
解决办法
2369
查看次数