When I turn ARC off ,I need to manage memory manually by myself.
I have some points.
First :
myAttribute = XXX;//This kind of writing may cause some problem of memory leak;
//So ,my way is:
self.myAttribute = XXX;
Second :
When I new a window object ,
I should rewrite "delegateClass" by "nil" in "main" function.
Third :
The problem of Memory Leak may cause by the version of the simulator.
Last:
The good tools are "Profile" and "Analyze".
I have some points.
First :
myAttribute = XXX;//This kind of writing may cause some problem of memory leak;
//So ,my way is:
self.myAttribute = XXX;
Second :
When I new a window object ,
I should rewrite "delegateClass" by "nil" in "main" function.
Third :
The problem of Memory Leak may cause by the version of the simulator.
Last:
The good tools are "Profile" and "Analyze".