Tag Archives: StoreKit

Creating Multiple In-App Purchases in iOS

In this screencast I’ll show you how to create multiple in-app purchases in you iOS app. The first part is a quick overview, and the second part shows how I’m tinkering with the code (members only).

This is based on an earlier tutorial in which I’m explaining how to create a single in-app purchase – if you’d like to follow along, you can find it here:

In a nutshell we’ll duplicate the earlier Shop class, add our new product identifier and amend the StoreKit observer method, as well as the alertView so that it can unlock the correct product.

The source code for this project is available on GitHub: the master branch is the earlier tutorial with a single product, and the Multi-IAP branch is what’s shown in this video.

[emember_protected]

[/emember_protected]

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: