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

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.

主站蜘蛛池模板: 乌兰浩特市| 衡山县| 且末县| 宜阳县| 芮城县| 寿宁县| 南部县| 翼城县| 乐安县| 潢川县| 双峰县| 江安县| 新河县| 青神县| 高青县| 石楼县| 德格县| 枣阳市| 浏阳市| 蓬溪县| 婺源县| 堆龙德庆县| 砚山县| 曲周县| 长宁区| 连云港市| 竹溪县| 永宁县| 广昌县| 乐清市| 龙州县| 江源县| 东丰县| 固原市| 文登市| 临清市| 上高县| 延长县| 朝阳区| 绥棱县| 新晃|