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 sporadically 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 the 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 behavior.

Features

  • Swift Package Manager
  • Tracking key actors
  • Objective-C
  • Integration with Danger
  • Surface last notification from the stack
  • Group tracked objects

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LifetimeTracker

LifetimeTracker Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LifetimeTracker!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Software Development Software

Registered

2023-06-05