Skip to content

b-ray/STPUAllocationTracker

Repository files navigation

STPUAllocationTracker

[![CI Status](http://img.shields.io/travis/Stefan Puehringer/STPUAllocationTracker.svg?style=flat)](https://travis-ci.org/Stefan Puehringer/STPUAllocationTracker) Version License Platform

Installation

STPUAllocationTracker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "STPUAllocationTracker"

Usage

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.

Acknowledgment

This library is based heavily on the ideas and code-samples shared in this blogpost by Facebook.

Author

Stefan Puehringer, me@stefanpuehringer.com

License

STPUAllocationTracker is available under the MIT license. See the LICENSE file for more info.

About

Keep track of the lifetime of allocated objects in your iOS Application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published