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

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.

主站蜘蛛池模板: 肥乡县| 红安县| 临安市| 长春市| 儋州市| 湖南省| 鄂尔多斯市| 中牟县| 叶城县| 四子王旗| 水富县| 乾安县| 汪清县| 宁陕县| 辽阳市| 民勤县| 普陀区| 若羌县| 容城县| 三门峡市| 应用必备| 南丹县| 清新县| 沙湾县| 手机| 班玛县| 安徽省| 澄江县| 大渡口区| 青海省| 星座| 黄大仙区| 大安市| 安远县| 舟曲县| 读书| 汾阳市| 定结县| 镇坪县| 宝兴县| 平武县|