标签: ios swift ios8
提到我们不需要在swift中编写main函数。
而不是'AppDelegate.swift',我们有以下属性。
@UIApplicationMain //Alternative for main function
或者我们需要导入main.swift。
但是如果没有导入任何类或主要功能,游乐场如何运作? 或如何 “在全球范围内编写的代码被用作程序的入口点”在swift中?