Xcode 6 Swift code completion not working

后端 未结 13 1162
感情败类
感情败类 2020-11-28 08:11

Using Xcode 6 GM seed my code completion has stopped working. It was working the other day. I was trying to get the unwind segue work around to work. I had made an Objc head

13条回答
  •  醉梦人生
    2020-11-28 08:33

    If your code completion problem is only with UI classes (e.g. UIImage, UIDevice), then you just need to add "import UIKit".

    Swift files will NOT have code completion for UI classes unless there is an "import UIKit".

提交回复
热议问题