Проверка шаблона шины для iOS
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

42 行
997B

  1. import MeetupIdX
  2. import SwiftUI
  3. import UIKit
  4. struct Content: View {
  5. var body: some View {
  6. MeetupId.V("w1")
  7. Divider()
  8. MeetupId.V("w2")
  9. Divider()
  10. Divider()
  11. Divider()
  12. MeetupId.TV("uuid-1")
  13. Divider()
  14. MeetupId.TV("uuid-2")
  15. }
  16. }
  17. @UIApplicationMain
  18. class AppDelegate: UIResponder, UIApplicationDelegate
  19. {
  20. let meetupIS = MeetupId.Service(.init())
  21. var window: UIWindow?
  22. func application(
  23. _ application: UIApplication,
  24. didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  25. ) -> Bool {
  26. window = UIWindow(frame: UIScreen.main.bounds)
  27. let vc = UIViewController()
  28. addSwiftUIViewAsChild(swiftUIView: Content(), parent: vc.view)
  29. vc.view.backgroundColor = .white
  30. window?.rootViewController = vc
  31. window?.backgroundColor = UIColor.white
  32. window?.makeKeyAndVisible()
  33. /**/print("ИГР UUID:", UUID().uuidString)
  34. return true
  35. }
  36. }