Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apple Watch App Development

You're reading from  Apple Watch App Development

Product type Book
Published in Apr 2016
Publisher
ISBN-13 9781785886362
Pages 358 pages
Edition 1st Edition
Languages
Author (1):
Steven F. Daniel Steven F. Daniel
Profile icon Steven F. Daniel

Table of Contents (19) Chapters

Apple Watch App Development
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Preface
1. Introducing the Swift Programming Language 2. Understanding Apple Watch 3. Exploring WatchKit Controls 4. Using the Core Location and Watch Connectivity Frameworks 5. Navigating Around in WatchKit 6. Implementing Tables within Your App 7. Adding Menus to Your App 8. Incorporating the Glance Interface in Your App 9. Incorporating Notifications within Your App 10. Image Compression and Animation 11. Packaging and Deploying Your App Index

Building and running the Shopping List application


In this section, we will look at compiling and running our Shopping List application. Since Apple Pay supports only non-bank issued American Express cards, we will be running this within the WatchKit Simulator:

To run the app, select the ShoppingList WatchKit App scheme and choose your preferred device from the iOS Simulators section, as shown in the following screenshot:

The preceding screenshot shows you the process when a product has been selected from the WatchKit extension and communicated with the iOS device. Since we have requested to have a shipping address as a requirement, you will notice that the SHIPPING ADDRESS REQUIRED text appears in red. The Shipping Address info with an exclamation mark prevents the user from progressing further, until they have provided this information:

As you can see from the preceding screenshot, using the PassKit and the Watch Connectivity frameworks, you can allow your users to make purchases directly...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}