How to bring back Code Completion for @ literals in Xcode 6

xcode-6-iconWhen you create literals with the @ symbol for Objective C classes in Xcode 6 Beta 1, it appears the code completion is no longer working as it once was. You know, that friendly list that used to appear as soon as you type @ in Xcode 4 and 5.

I’ve been pulling my hair out over this. I’ve even filed a bug report with Apple, who kindly got back to me telling me I’m seeing things: it was working fine at their end. I was stumped: my three dev systems all exhibited the same behaviour: no code completion when you type the @ symbol.

Turns out that this is “the new default behaviour” in Xcode 6 and by all accounts a “feature –

because we now need to hit the ESCAPE key to bring up that list:

Screen Shot 2014-06-16 at 20.40.44

I’ve heard from other users that similar code completion is absent even from Swift projects. Perhaps we’ll all get used to that ESCAPE key, unless these are bugs that will be ironed out over the next few iterations.

Of course code completion needs to be enabled for this to work, it’s worth to check this under Xcode – Preferences – Text Editing:

Screen Shot 2014-06-16 at 20.35.47

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

2 thoughts on “How to bring back Code Completion for @ literals in Xcode 6

  1. This is extremely annoying. I noticed this in the Xcode 6 beta, and I thought it was just because it was in beta. This being designed functionality is not desirable IMO.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.