上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: About Table Views in iOS AppsTable views are versatile user interface objects frequently found in iOS apps. A table view presents data in a scrollable list of multiple rows that may be divided into sections.表格视图是通用用户界面对象,常常能在iOS应用程序里看到。 表格视图在一个多行的一个滚动列表中呈现数据,这些行可能被分为多个区(sections)。Table views have ma 阅读全文
posted @ 2013-08-10 15:25 cainiaozhang 阅读(742) 评论(0) 推荐(0) 编辑
摘要: Accessing Files and DirectoriesBefore you can open a file, you first have to locate it in the file system. The system frameworks provide many routines for obtaining references to many well-known directories, such as theLibrarydirectory and its contents. You can also specify locations manually by bui 阅读全文
posted @ 2013-08-10 09:20 cainiaozhang 阅读(916) 评论(0) 推荐(0) 编辑
摘要: File System BasicsThe file systems in OS X and iOS handle the persistent storage of data files, apps, and the files associated with the operating system itself. Therefore, the file system is one of the fundamental resources used by all processes.OS X 和 iOS的文件系统处理数据文件,应用程序以及跟操作系统自身相关的各种文件的永久保存。 因此,文件 阅读全文
posted @ 2013-08-08 15:52 cainiaozhang 阅读(701) 评论(0) 推荐(0) 编辑
摘要: About Files and DirectoriesThe file system is an important part of any operating system. After all, it’s where users keep their stuff. The organization of the file system plays an important role in helping the user find files. The organization also makes it easier for apps and the system itself to f 阅读全文
posted @ 2013-08-08 07:13 cainiaozhang 阅读(377) 评论(0) 推荐(0) 编辑
摘要: Using the Flow Layout使用流布局TheUICollectionViewFlowLayoutclass is a concrete layout object that you can use to arrange items in your collection views. The flow layout implements a line-based breaking layout, which means that the layout object places cells on a linear path and fits as many cells along 阅读全文
posted @ 2013-07-25 15:04 cainiaozhang 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: AnimationsAnimations provide fluid visual transitions between different states of your user interface. In iOS, animations are used extensively to reposition views, change their size, remove them from view hierarchies, and hide them. You might use animations to convey feedback to the user or to imple 阅读全文
posted @ 2013-07-24 13:00 cainiaozhang 阅读(990) 评论(0) 推荐(0) 编辑
摘要: Designing Your Data Source and Delegate设计你的数据源和委托Every collection view must have a data source object providing it with content to display. The data source object is an object that your app provides. It could be an object from your app’s data model or it could be the view controller that manages the 阅读全文
posted @ 2013-07-11 15:09 cainiaozhang 阅读(3828) 评论(1) 推荐(2) 编辑
摘要: Mac App StoreThe information you’ve read so far focused on how to create an app in Xcode. However, there are other things you must do to publish an app on the Mac App Store.到目前为止你学习的都是关于如何在Xcode里创建一个应用程序。然而,还有一些其它的事情你必须完成才能把一个应用程序发布到Mac 应用商店。After you test and refine your code, you need to turn your 阅读全文
posted @ 2013-07-09 16:43 cainiaozhang 阅读(505) 评论(0) 推荐(0) 编辑
摘要: Collection View BasicsCollection View 基础To present its content onscreen, a collection view cooperates with many different objects. Some objects are custom and must be provided by your app. For example, your app must provide a data source object that tells the collection view how many items there are 阅读全文
posted @ 2013-07-09 16:26 cainiaozhang 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: ViewsBecause view objects are the main way your application interacts with the user, they have many responsibilities. Here are just a few:因为视图对象是应用程序跟用户交互的主要方式,所以它们有很多责任。以下是其中一小部分:Layout and subview management布局和子视图管理A view defines its own default resizing behaviors in relation to its parent view.一个 阅读全文
posted @ 2013-07-09 11:42 cainiaozhang 阅读(1372) 评论(1) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页