Xcode 6 isn't autocompleting in Swift
This fix from apple dev forums works for me. I have had performance/autocomplete issues since beta 5 i think and now xcode 6.1/Yosemite on my old 2010 MBP is working flawlessly.
- Quit Xcode.
- Restart the computer (this is to clear any in-memory caches).
- Delete the contents of the DerivedData folder(~/Library/Developer/Xcode/DerivedData)
- [This is the key move:] Delete ~/Library/Caches/com.apple.dt.Xcode.
Now launch Xcode once more…
This is the same as the correctly chosen answer above but just made slightly easier.
I've had to do it several times and in my testing you can skip restarting your mac.
1) Close Xcode
2) Terminal -> rm -rf ~/Library/Developer/Xcode/DerivedData/*
3) Terminal -> rm -rf ~/Library/Caches/com.apple.dt.Xcode
Restart Xcode and it should be back to normal.
I find that if my deployment target is 8.1 then autocomplete always works. But it is unreliable if it is not.