In App Purchase sample code in Objective C

I want to build in app purchase in my game so that user can buy the coins or scores. I searched anywhere but I am not sure whether the sample code is suitable for Xcode 8 and game. Can anyone please give me the sample code of IAP in Objective C. I am using Xcode 8.

Thank you.

Thank you very much. I've read it through. Do you know which video has tutorial about in app purchase of buying the game currencies because video can make me learn faster. I am using Xcode 8 and Objective C. Thank you.

Thank you very much for the video.

In App Purchase sample code in Objective C
 
 
Q