官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 焦作市| 宝应县| 炎陵县| 屯昌县| 夏津县| 林州市| 会泽县| 阳江市| 南康市| 荃湾区| 博罗县| 白城市| 连南| 榕江县| 辽中县| 资源县| 江城| 临沂市| 洱源县| 泽州县| 汨罗市| 天全县| 阜新市| 分宜县| 八宿县| 乐亭县| 方城县| 夏河县| 沭阳县| 鄄城县| 理塘县| 金门县| 木兰县| 庆安县| 准格尔旗| 文登市| 肇庆市| 上饶市| 莱州市| 莱西市| 从化市|