Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In Xcode select Product > Profile. In addition to the iOS Simulator, you’ll see an application called Instruments. From Instruments’ initial screen, select the Leaks trace template and click Profile. A screen similar to figure 14.4 will be displayed.