STPUAllocationTracker is available through CocoaPods. To install it, simply add the following line to your Podfile:
To run the example project, clone the repo, and run
pod install from the Example directory first.
To use this library, there is no configuration or import needed at all, everything gets loaded automatically. Simply run your app and whenever the app is brought to the background or gets terminated, a snapshot with the count of the currently living objects is saved to the documents folder.
The information in this folder can be used to spot leaks and other memory-issues at any stage of the development-process, but is NOT intended to be used in a live application.
This library is based heavily on the ideas and code-samples shared in this blogpost by Facebook.
Stefan Puehringer, email@example.com
STPUAllocationTracker is available under the MIT license. See the LICENSE file for more info.