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

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.

主站蜘蛛池模板: 彰化县| 泊头市| 镇巴县| 惠州市| 平遥县| 雷山县| 化德县| 济宁市| 洛扎县| 岳西县| 松潘县| 拜城县| 木里| 兰西县| 开封市| 昭通市| 香河县| 鸡东县| 嘉兴市| 胶州市| 闽侯县| 冷水江市| 洛川县| 荥阳市| 巨野县| 怀远县| 凉城县| 大港区| 承德市| 东光县| 石嘴山市| 青海省| 墨江| 亚东县| 亚东县| 东安县| 会昌县| 宣武区| 余干县| 镇沅| 且末县|