Xcode 6 isn't autocompleting in Swift

前端 未结 10 832
清酒与你
清酒与你 2020-11-29 15:57

I am trying to import various libraries which I can\'t remember their exact name. Unfortunately Xcode 6 (using swift) isn\'t auto completing th

10条回答
  •  星月不相逢
    2020-11-29 16:34

    I have had this happen quite a bit, and yes making sure you are on the most recent beta version does help. Unfortunately you have to download the newest one through the developer portal each time.

    I have also noticed that the the autocompletion goes away when the swift compiler is struggling with compiling something even though it is error free and if you comment out or remove the right line of code the feature comes back as expected. Most definitely resulting from beta quality software.

    A last week I was beating my head against the wall because the swift compiler wasn't playing nice with the sqrt() function. Hopefully these issues are ironed out by the time of full release.

    Sorry there's no real 'fix' yet!

提交回复
热议问题