lightstep / lightstep-tracer-objc

The Lightstep distributed tracing library for Objective-C and Swift
https://lightstep.com
MIT License
11 stars 9 forks source link

Move references to crouton.h out of the public headers #8

Closed bcronin closed 8 years ago

bcronin commented 8 years ago

Summary

The public LSTracer.h header was referencing an internal header (crouton.h) that contains implementation details.

One of the side-effects was that the internal header has a method named count which has a different return type than the "standard" NSDictionary count method - which can cause return type resolution issues when using ids.

The fix is to move the internal header references out of the public headers (and use a class extension for the internal uses).