When I try to use the "leading dot syntax" in swift I don't get any autocomplete suggestion. Is there no autocomplete for this implemented or is it a problem with my Xcode (Version 6.3.1)?
For example when I try something like this:
let col: UIColor? = .whiteColor()
I don't get any suggestion for any method after I hit the dot, so I've to write the method name by myself (what's kinda hard because I'm not very familiar with Swift right now).
When I write it like following, the autocomplete works fine
let col: UIColor? = UIColor.whiteColor()
I already tried to delete ~/Library/Developer/Xcode/DerivedData/*
and ~/Library/Caches/com.apple.dt.Xcode
but it didn't help.
So, is there no autocompletion for this feature implemented or am I doing something wrong?
Edit: I don't have a general problem with the autocompletion, it's only when I want to call a static method or an enum with a leading dot like in the example above. Everything else works fine.