Managing tracking code in iOS using delegation pattern

Kunal Balani posted January 30, 2017
Tracking is ubiquitous in mobile engineering. At TripAdvisor we measure the success metric associated with every feature. This also means that a good percentage of our code base consists of tracking related code. Most of the tracking changes are usually embedded in UIViewController subclass, making it rigid and difficult to test. The article introduces handling and managing, tracking changes using delegation. Let's take an example of how a tracking code within the app looks like…
Full Article Trip Advisor