Last active
September 8, 2018 07:05
-
-
Save mobilequickie/bd979ce5553ef3876a62f90ad53860db to your computer and use it in GitHub Desktop.
MasterViewController
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 MasterViewController: UITableViewController { | |
var analyticsService: AnalyticsService? = nil | |
override func viewDidLoad() { | |
super.viewDidLOad() | |
analyticsService = (UIApplication.shared.delegate as! AppDelegate).analyticsService | |
self.analyticsService?.recordEvent("loaded", parameters: ["op":"viewDidLoad"], metrics: nil) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment