2014-10-17 88 views
0

Im正在使用xcode6。我最后的记忆是我已经删除我的项目中的所有文件迅速并重新添加它,我遇到这个错误:Swift:未定义的符号

enter image description here

回答

0

您需要@UIApplicationMain属性AppDelegate。或者你忘了添加AppDelegate?

@UIApplicationMain 
class AppDelegate: UIResponder, UIApplicationDelegate { 
    ... 
}