Skip to content

Instantly share code, notes, and snippets.

@gaelfoppolo
Last active July 23, 2017 21:14
Show Gist options
  • Save gaelfoppolo/748e3e53760a837f3f1aa9f1e1d68cf5 to your computer and use it in GitHub Desktop.
Save gaelfoppolo/748e3e53760a837f3f1aa9f1e1d68cf5 to your computer and use it in GitHub Desktop.
import UIKit
UIApplicationMain(
CommandLine.argc,
UnsafeMutableRawPointer(CommandLine.unsafeArgv)
.bindMemory(
to: UnsafeMutablePointer<Int8>.self,
capacity: Int(CommandLine.argc)),
NSStringFromClass(TimerApplication.self),
NSStringFromClass(AppDelegate.self)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment