Архитектурный шаблон "Мрак в моделях" на нескольких языках и платформах
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

AppDelegate.swift 652B

il y a 1 an
123456789101112131415161718192021222324252627282930
  1. import UIKit
  2. @main
  3. class AppDelegate: UIResponder, UIApplicationDelegate {
  4. var window: UIWindow?
  5. }
  6. extension AppDelegate {
  7. func application(
  8. _ application: UIApplication,
  9. didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  10. ) -> Bool {
  11. let vc = UIViewController()
  12. vc.view.backgroundColor = .white
  13. window = UIWindow(frame: UIScreen.main.bounds)
  14. window?.rootViewController = vc
  15. window?.makeKeyAndVisible()
  16. return true
  17. }
  18. }
  19. extension AppDelegate {
  20. private func setupMemory() {
  21. /*
  22. let w = Converter.World(converterModel)
  23. converterS = Converter.Service(w)
  24. */
  25. }
  26. }