Classes
The following classes are available globally.
-
Combines multiple Analytics Engines into a single engine.
Use this only if you have multiple engines.
See moreDeclaration
-
Prints analytics events to standard output.
This should be used only for debugging purposes. If you’re building for iOS 14+, consider using
See moreLoggerAnalyticsEngineinstead. You can combine this with your actual analytics engine by usingCompoundAnalyticsEngine.Declaration
-
Logs analytics events to Apple’s unified logging system.
This should be used only for debugging purposes. You can combine this with your actual analytics engine by using
See moreCompoundAnalyticsEngine.Declaration
-
Mock analytics engine. Stores events to an
allEventsarray each timetrack(event:)is called. It also stores information by event type.Use this only for unit testing. Consider whether
See moreSpyAnalyticsEnginemight be a better fit.Declaration
-
Spies upon an analytic engine by also tracking events to a separate mock that can be queried.
Use this only for unit testing. Consider whether
See moreMockAnalyticsEnginemight be a better fit.Declaration
Classes Reference