Is there a way to disable Xcode 8 autocomplete for image names?

Xcode 8 has this new feature that should offer image file names when you use UIImage(named:)

In my case, it offers image names, even if that doesn't make any sense.

Example:

Image autocomplete example

There is nothing in preferences. I wonder if there is a secret command to disable this part of autocomplete.

+46
ios autocomplete xcode swift xcode8
Sep 28 '16 at 10:15
source share
1 answer

No, unfortunately, this cannot be turned off, and nothing suggests that this is fixed in the release notes for Xcode 8.1 .

This should either be fixed, or you should be able to disable it. Functionality is very good when it is used only for its purpose, as I describe in this publication.

But the problem is that Xcode 8 inserts images embedded in the source when it cannot make any sense, as you mention. For example, if you have an iteration and enter for x in to start the loop, and you have any image in the project whose name matches "in" using this syntax.

Annoying problem, I hope Apple fixes it soon because the feature is good when it is used only for images.

Update :
Just confirmed that this is still a problem in the stable version of Xcode 8.1.

Update :
This functionality remains in Xcode version 9.0 beta 6 (9M214v) enter image description here

+30
Oct 26 '16 at 10:58
source share



All Articles