摘要: 视图配置Configuring the ViewXcode.app 提供一个所有对象的资源库,你可以添加到 storyboard 文件。其中一部分是属于一个视图的用户交互元素,比如:按钮、文本区。其他是更高一级的对象,比如:控制器、触摸手势。Xcode provides a library of objects that you can add to a storyboard file. Some of these are user interface elements that belong in a view, such as buttons and text fields. Others 阅读全文
posted @ 2013-10-10 23:59 small英 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 检查视图控制器及其视图Inspecting the View Controller and Its View正如早些时候学到的,一个视图控制器是代表它管理的一个场景,这个场景代表一个区域的内容。你在这个区域看到的内容被定义在这个视图控制器的视图中。这一章,你会更详细的了解场景通过 HelloWorldViewController 管理视图,还会学到如何改变视图的背景颜色。As you learned earlier, a view controller is responsible for managing one scene, which represents one area of con 阅读全文
posted @ 2013-10-10 23:42 small英 阅读(179) 评论(0) 推荐(0) 编辑