Building Apple Watch Projects
上QQ阅读APP看书,第一时间看更新

Summary

In this chapter, you have set up an Xcode project with the necessary targets and schemes to develop the app, and learned to navigate your way around the multiple apps pattern provided by the WatchKit app template. You have added UI elements to the screen, using Interface Builder and linked them to code written in the InterfaceController file. One of those elements was the Group object which was used to customize the layout of the UI. You also added animated changes to the UI, and learned how to fetch input from the user using the text input modal view

That is a lot of ground to have covered, so congratulations. You are likely to use most, if not all, of these techniques in just about every app you write, so make sure you have a firm and intuitive grasp of the material we have covered here.

In the next chapter, we will create a simple brain-training game app, for which you will use the power of Group objects to layout other UI elements on screen; add navigation to provide access to other screens; create game logic classes that will reside on the watch; allow the user to further customize the game's appearance; and store user preferences.