automatic ref counting - WatchKit without ARC causes crash when dealloc -


the watch app developing not using arc. , releases properties of objects in each interface in dealloc below.

-(void)dealloc {    [obj1 release];   [obj2 release];    ...   [super dealloc]; } 

this causes crash when close interface (for example go main interface). why so?

retains , releases need balanced in context of class. didn't retain when assigned 1 of instance variables, , it's over-release. can try enabling zombies catch message deallocated instance if that's case.


Comments

Popular posts from this blog

java - AEM: 403 Forbidden occurs when call a Post servlet -

ruby on rails - ActiveRecord order not working -

Google Alert - facebook