Swift

Swift的第一个iOS应用

2016-12-13  本文已影响211人  溯溪mvp

不讲道理

胡说八道

一本正经

iOS
OC AppDelegate 入口
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen]bounds]];
self.window.rootViewController = [[RootViewController alloc] init]];
[self.window makeKeyAndVisible];
iOS
Swift AppDelegate 入口
self.window = UIWindow.init(frame: UIScreen.main.bounds)
self.window?.rootViewController = RootViewController();
self.window?.makeKeyAndVisible();

版本

参考

Next

上一篇 下一篇

猜你喜欢

热点阅读