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

Creating an In-App Purchase in iOS 7 – Part 6: Restoring

And finally in the last part I’ll show you how to restore purchases.

Note that you must implement a restore option for non-consumable products or the review team will reject your app.

Demo Project

You can download the full source code of what I’m building in this screencast on GitHub:

Further Reading

I’m following my earlier two articles almost to the letter, here they are for reference:

Watch the full course in one convenient playlist:
Catch this episode on my iOS Dev Diary Podcast:

Creating an In-App Purchase in iOS 7 – Part 5: Testing

In this part we’ll see our hard work comes to life on a real device while we’re performing our purchase in the App Store Sandbox.

Demo Project

You can download the full source code of what I’m building in this screencast on GitHub:

Further Reading

I’m following my earlier two articles almost to the letter, here they are for reference:

Watch the full course in one convenient playlist:
Catch this episode on my iOS Dev Diary Podcast:

Creating an In-App Purchase in iOS 7 – Part 4: The Purchase

Learn how to make the purchase in this part of our series about in-app purchases.

Demo Project

You can download the full source code of what I’m building in this screencast on GitHub:

Further Reading

I’m following my earlier two articles almost to the letter, here they are for reference:

Watch the full course in one convenient playlist:
Catch this episode on my iOS Dev Diary Podcast:

Creating an In-App Purchase in iOS 7 – Part 3: StoreKit Observer

In this part we’ll setup the observers needed to react to responses from the App Store.

Demo Project

You can download the full source code of what I’m building in this screencast on GitHub:

Further Reading

I’m following my earlier two articles almost to the letter, here they are for reference:

Watch the full course in one convenient playlist:
Catch this episode on my iOS Dev Diary Podcast:

Creating an In-App Purchase in iOS 7 – Part 2: Custom Shop Class

In this part I’ll talk you through building a custom shop class and how to make “first contact” with the App Store.

Demo Project

You can download the full source code of what I’m building in this screencast on GitHub:

Further Reading

I’m following my earlier two articles almost to the letter, here they are for reference:

Watch the full course in one convenient playlist:
Catch this episode on my iOS Dev Diary Podcast: