Skip to content

Instantly share code, notes, and snippets.

@quintonpryce
Created July 18, 2019 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quintonpryce/9afbc7b22173d76016f3aa3431257097 to your computer and use it in GitHub Desktop.
Save quintonpryce/9afbc7b22173d76016f3aa3431257097 to your computer and use it in GitHub Desktop.
EventTracker Protocol
public protocol EventTracker {
func track(event: String)
func track<T: AnalyticsParameter>(event: String, with parameters: T)
func isEventNameSupported(event: String) -> Bool
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment