Xcode 6.1 if / else / for / switch is not autocomplete (Swift only)

I am not experiencing the autocomplete issue described in every other post. The normal autocomplete function works fine. My problem is the version of Xcode I am running (6.1, Swift) will not auto-fill / auto-suggest any basic programmatic statement (if, for, switch, do, etc.). If I type "if", for example, a suggestion menu appears after a few seconds; however, there is no documentation in the window that would normally describe the function of the operator (while providing an example of autocomplete).

If I try a project in the same version of Xcode in Objective-C, these basic programming instructions follow just fine.

I already have:
1) Make sure my preferences are set to automatically suggest completions
2) Make sure I clear DerivedData and everything else suggested in previous posts
3) Reinstalled Xcode and restarted the Mac countless times
4) Downloaded the entire latest documentation version "iOS 8.1, Xcode 6.1" from "Xcode -> Preferences -> Documentation"

It worked !! Arrgh. Any suggestions? Thank.

+3


source to share


1 answer


Go to Xcode 6.2 and clear the resulting data. This should fix the problem.



0


source







All Articles