Latest 0.1.0
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit

[![CI Status]( Puehringer/STPUAllocationTracker.svg?style=flat)]( Puehringer/STPUAllocationTracker)


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

pod "STPUAllocationTracker"


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 protected]


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

Latest podspec

    "name": "STPUAllocationTracker",
    "version": "0.1.0",
    "summary": "Easily keep track of allocated object in iOS.",
    "description": "A zero-configuration library to keep track of the lifetime of allocated objects in iOS. Just install the podnand the count of all living objects will automatically be written to the documents folder whenever the app isnpushed to the background or terminated.nAlthough the library is optimized for performance, it is only intended to be used during development.nHeavily based on a blog-post by Facebook:",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Stefan Puehringer": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": "Pod/Classes/Arc/**/*",
    "source_files": "Pod/Classes/**/*",
    "private_header_files": "Pod/Classes/**/*.h",
    "frameworks": "UIKit"

Pin It on Pinterest

Share This