1.4.0
Pre-release
Pre-release
What's Changed
NB: Breaking changes in this release.
func screenIdentifier(for viewController: UIViewController) -> ScreenIdentifier?
method is added toTTIMetricsReceiver
andRenderingMetricsReceiver
.func ttiMetricsReceived(metrics: TTIMetrics, screen: ScreenIdentifier)
andfunc renderingMetricsReceived(metrics: RenderingMetrics, screen: ScreenIdentifier)
now receive the same type which is returned from thescreenIdentifier(for:)
.ViewControllerLoggingReceiver
also has the same methodscreenIdentifier(for:)
and receives notString
butScreenIdentifier
.shouldTrack(viewController:)
method is removed. Returnnil
fromscreenIdentifier(for:)
if you do not want to track this view controller.
- Introduce typed identifiers for screen level metric receivers by @pilot34 in #10
- Experiment to create view controller observers on the background by @pilot34 in #11
Full Changelog: 1.3.0...1.4.0