Xcode 9 autocompletion

Hi guys,

I cant understand why Apple guys cannot fix the problem with autocompletion in swift code. I installed the new one Xcode 9 beta and still see that even if the project contains only few classes, the autocompletion feature works really slow. It should work instantly not like right now after few second, i am able to write almost whole word/sentence before it appears. Do you have the same issues regarding autocomplete in swift? Any advices how to improve that?

Facing the same issue. For me SourceKit keeps crashing. have opened a new bug. Hopefully I should have a resolution soon

It seems to be a fundamental problem with Swift's type inference and scope detection (not requiring explicit imports). It's much more complicated than Objective-C for SourceKit to figure out what symbol etc. you're attempting to refer to in a line of code because it has to do extra work to infer type, and it has a hard time knowing what needs to be compiled because other classes you refer to are not explicitly imported by the developer. The result is that Xcode is creeping over the line of being genuinely unusuable on projects of any serious size with Swift in terms of code completion and unreasonable compile times.

Since this hasn't been remedied even now in Xcode 9.1, I don't see it getting better any time soon. You can throw a ticket into the gaping maw of Apple's bug tracker but they must have thousands of them already.

Xcode 9 autocompletion
 
 
Q