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:
WatchConnectivity
frameworkNSUserDefaults
to persistently store data on both devicesIn the next chapter, we will create a new app, and investigate, among others, the following topics: sharing larger data sets between devices, adding supplementary code to the phone; using Table objects in the interface; making use of the haptic interface—leveraging WatchKit's animations framework.
3.149.249.174