objective c - xCode 6.3.2 Crash [UIViewController .cxx_destruct] -
i have converted application written in objective-c, using sql, changed coredata.
issue identify far when changed nsobject nsmanagedobject in 1 of class getting stupid crash in viewcontroller after view dismissed:
[self dismissviewcontrolleranimated:yes completion:nil];   control stopped @ @implementation viewcontroller, if changed model being used in class nsobject there no crash, view dismissed properly.
i have found nothing far crash crash means?
is there way debug this?
i have faced similar issue, added below code dealloc solved issue.
-(void) dealloc {    [_managedobjectcontext reset]; }   or
-(void) dealloc {    _objectfromcontext = nil;    _managedobjectcontext = nil; }   for more details refer link
hope helps you.
Comments
Post a Comment