Files
Schedule-ICTIS/Carthage/Checkouts/TrueTime.swift/Examples/iOS/AppDelegate.swift
Vladimir Dubovik 5abafda21b Commit
2025-06-13 11:59:16 +03:00

27 lines
715 B
Swift

//
// AppDelegate.swift
// NTPExample
//
// Created by Michael Sanders on 7/9/16.
// Copyright © 2016 Instacart. All rights reserved.
//
import UIKit
import TrueTime
@UIApplicationMain
final class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
TrueTimeClient.sharedInstance.start()
window = UIWindow(frame: UIScreen.main.bounds)
window?.backgroundColor = .white
window?.makeKeyAndVisible()
window?.rootViewController = ExampleViewController()
return true
}
}