Reader small image

You're reading from  Building Apple Watch Projects

Product typeBook
Published inFeb 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785887369
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Stuart Grimshaw
Stuart Grimshaw
author image
Stuart Grimshaw

Stuart Grimshaw has programmed for Apple computers since the days before OS X and has been involved with developing for the Apple Watch since its release. Born in the UK and having lived in Germany and the Netherlands, he is currently a Senior iOS developer in London, England, United Kingdom. He has around 10 years of end-to-end development of projects experience in, iOS, iPadOS, watchOS (Apple Watch), tvOS (AppleTV), and macOS. He is passionate about the potential of the Apple Watch and Apple TV, as well as Apple's Swift programming language, and is a keen proponent of beach coding.
Read more about Stuart Grimshaw

Right arrow

Summary


This where we leave C-Quence, at least, as far as this book goes. It would be an excellent idea to go back over the code, right the way from the beginning of Chapter 3, C-Quence – A Memory Game, and experiment with tweaking the code here and there, with a view to better understanding what each line of code does, and how it might be varied.

And if it kills the app? No problem, that's what command-Z is for.

In this chapter, you have learned to:

  • Iterate through the Run-test-fix process to catch bugs

  • Adapt the originally planned code to real hardware conditions, You have

  • Enabled phone-to-watch communication using the WatchConnectivity framework

  • Use of constants to make that communication easier to code safely

  • You have also learned to create shared manager singletons

  • Use NSUserDefaults to persistently store data on both devices

  • You have used Interface Builder's Layout Constraints to create a minimalistic interface on the phone that will correctly adapt to all screen sizes and orientations

In the...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Building Apple Watch Projects
Published in: Feb 2016Publisher: PacktISBN-13: 9781785887369

Author (1)

author image
Stuart Grimshaw

Stuart Grimshaw has programmed for Apple computers since the days before OS X and has been involved with developing for the Apple Watch since its release. Born in the UK and having lived in Germany and the Netherlands, he is currently a Senior iOS developer in London, England, United Kingdom. He has around 10 years of end-to-end development of projects experience in, iOS, iPadOS, watchOS (Apple Watch), tvOS (AppleTV), and macOS. He is passionate about the potential of the Apple Watch and Apple TV, as well as Apple's Swift programming language, and is a keen proponent of beach coding.
Read more about Stuart Grimshaw