Created
July 18, 2019 19:25
-
-
Save quintonpryce/72085fb10507df690b6a8ddc43ec71fd to your computer and use it in GitHub Desktop.
Analytics Core Contract
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public protocol AnalyticsScope { | |
func track(event: AnalyticsEvent) | |
func track<T: AnalyticsParameter>(event: AnalyticsEvent, with parameters: T) | |
func addEventTracker(key: EventTrackerKey, tracker: EventTracker) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment