Our DNA is written in Swift

Dr. Touch's Purchase Button

When you get around to adding In App Purchases (IAP) to your app you will find that Apple does not provide anything to help you with the UI. StoreKit only takes care of the buying backend. Therefore I sat down and spent many hours to construct a customizable purchase button to be the latest addition to the Dr. Touch Parts Store.


This is a button that has three states you need for In App Purchases: Neutral, Confirm and Purchased. For each of these states you can set a text and a title and the button does all the rest. It will send a message to your delegate when the button resizes so that you can move UI elements out of the way. It informs your app if a purchase should be made via StoreKit or whether it was cancelled. DTPurchase Button transmits an especially high value of your IAPs by  using a custom gloss finish.

Have a look at this video demonstration of the part in action:

Price: 100 EUR

You can order this part for use in your own projects via e-mail. See the terms and conditions at the bottom of my store page for the fine print.

Categories: Parts

Leave a Comment

%d bloggers like this: