Last active
June 29, 2018 14:30
-
-
Save kuyazee/21b4cf5e7e3e7a636f06482084cf50ba 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
public protocol AnalyticsEventProtocol { | |
/// This is the identifier | |
var name: String { get } | |
/// the dictionary that will be sent to the SDK | |
var parameters: [String: Any]? { get } | |
} | |
extension AnalyticsEventProtocol { | |
// Default Implementation | |
var parameters: [String: Any]? { return nil } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment