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

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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