What is LifetimeTracker?

LifetimeTracker can surface retain cycle / memory issues right as you develop your application, and it will surface them to you immediately, so you can find them with more ease.

Instruments and Memory Graph Debugger are great, but too many times developers forget to check for issues as they close the feature implementation.

If you use those tools sporadicaly many of the issues they surface will require you to investigate the cause, and cost you a lot of time in the process.

Other tools like FBRetainCycleDetector rely on objc runtime magic to find the problems, but that means they can’t really be used for pure Swift classes. This small tool simply focuses on tracking lifetime of objects which means that it can be used in both Objective-C and Swift codebases and it doesn’t rely on any complex or automatic magic behaviour.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/krzysztofzablocki/LifetimeTracker
  • Resource Maker: Krzysztof Zabłocki
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: LifetimeTracker
  • Carthage: krzysztofzablocki/LifetimeTracker