In this chapter, you learned how to set up and provision your app for use with Apple Pay and the PassKit framework. You learned how to manually set up a merchant ID for your development certificate in the Apple Developer portal, and add this to the Capabilities section of your iOS app. We then moved on to explaining how to use the WatchKit WKInterfaceTable
, how to set it up, and configure it.
You learned how to create a table row controller that inherits from the NSObject
class to store our product information. You now know how to use this class to populate product related information from our ProductsList
property list file, and determine when a user has selected a row, and respond to the action.
In the final sections, you learned how to integrate with the PassKit framework, how to handle Apple Pay payments using the PKPaymentAuthorizationViewControllerDelegate
protocol methods, and how to communicate between the WatchKit extension and the iOS app.
In the next chapter, you will learn...