Files
CocoaLumberjack/Integration/Sources/AppDelegate.swift
2025-07-22 14:46:40 +02:00

33 lines
1.2 KiB
Swift

// Software License Agreement (BSD License)
//
// Copyright (c) 2010-2025, Deusty, LLC
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms,
// with or without modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Neither the name of Deusty nor the names of its contributors may be used
// to endorse or promote products derived from this software without specific
// prior written permission of Deusty, LLC.
import UIKit
@main
final class AppDelegate: UIResponder, UIApplicationDelegate {
@objc dynamic var window: UIWindow?
@objc dynamic func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let window = UIWindow()
window.backgroundColor = .black
self.window = window
self.window?.rootViewController = ViewController()
self.window?.makeKeyAndVisible()
return true
}
}