36 lines
869 B
Swift
Raw Normal View History

//
// AppDelegate.swift
// Locations
//
// Created by Javier Cicchelli on 08/04/2023.
// Copyright © 2023 Röck+Cöde. All rights reserved.
//
import UIKit
import CoreData
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
2023-04-11 18:11:57 +02:00
// MARK: Properties
var window: UIWindow? = .init(frame: UIScreen.main.bounds)
// MARK: UIApplicationDelegate
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
2023-04-11 18:11:57 +02:00
window?.rootViewController = ViewController()
window?.makeKeyAndVisible()
2023-04-11 18:11:57 +02:00
return true
}
2023-04-11 18:11:57 +02:00
func applicationDidEnterBackground(_ application: UIApplication) {
// Save changes in the application's managed object context when the application transitions to the background.
}
}