I want simple in app purchases app , storyboard , it contains 2 views
the first view have label view contains this word : you have 0 gems .
and one button that have word : get 10 gems , when click it , it make payment of 0.99 with sandbox and after that it store the 10 gems on the software and display it in the labelview .
now in the second view it have button with title (eat 1 gem ) .
once clicked the value of the gems drop one gem , note that when close and open the app the gems counted correctly .
very important notes:
you need to show the correct gems left , if the user installs the app in other device .
you make the code comments , here what i want you to show me :
// when you make sure that he make the payment and change the gems count to the current count + 10 .
// when you drop the gems values .
// the place you store the value , please make it simple , do not use hard stuff , nsdefualts will be enough .
// the place where i change the project indentifier .
i will pay $30 for this .