Sha256: 1c56ffc56e6bda0f09de1a1b624e698e6019476e952b5f634752e3dc8b75cd87
Contents?: true
Size: 888 Bytes
Versions: 17
Compression:
Stored size: 888 Bytes
Contents
// // AppDelegate.swift // YKRPC_POD_NAME_Example // // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE. // import UIKit @main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { let win = UIWindow.init(frame: UIScreen.main.bounds) win.backgroundColor = UIColor.white self.window = win let tab = UITabBarController() var arr: [UIViewController] = [UIViewController]() do{ let nav = UINavigationController.init(rootViewController: ViewController()) arr.append(nav) } tab.viewControllers = arr win.rootViewController = tab win.makeKeyAndVisible() return true } }
Version data entries
17 entries across 17 versions & 1 rubygems