Created
June 27, 2018 14:53
-
-
Save kuyazee/0eb8189a6e0da3c55fdf374408e036f4 to your computer and use it in GitHub Desktop.
This file contains 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
class FabricAnalyticsService: AnalyticsServiceProtocol { | |
func initialize(application: UIApplication, launchOptions: [UIApplicationLaunchOptionsKey : Any]?) { | |
Fabric.with([Answers.self]) | |
} | |
func send(event: AnalyticsEventProtocol) { | |
Answers.logCustomEvent(withName: event.name, customAttributes: event.parameters) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment