Created
November 1, 2014 21:57
-
-
Save skuenzli/944c9691dca8910c0b03 to your computer and use it in GitHub Desktop.
main.swift with automatic measurement of http requests
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
import Foundation | |
import UIKit | |
let apiKey = "specify your api key here"; | |
WNGLogger.initSharedLogger(apiKey) | |
WNGLogger.sharedLogger().recordStart("application-launch") | |
NSURLConnection.wng_enableLogging() | |
UIApplicationMain(C_ARGC, C_ARGV, NSStringFromClass(UIApplication), NSStringFromClass(AppDelegate)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment