Graphics Programs Reference
In-Depth Information
You can of course fix this problem by making the
containingArray
property a weak
reference. Or just remove the property and undo your changes to
endTouches:
and
clearAll
.
This should give you a good start with the
Instruments
application. The more you play
with it, the more adept at using it you will become. One final word of warning before you
invest a significant amount of your development time using
Instruments
: If there is no
performance problem, don't fret over every little row in
Instruments
. It is a tool for dia-
gnosing existing problems, not for finding new ones. Write clean code that works first;
then, if there is a problem, you can find and fix it with the help of
Instruments
.