摘要: 文件版本历史Document Revision History这个表格描述了你的第三个app:iCloud的变动。This table describes the changes toYour Third iOS App: iCloud.日期Date注意Notes2013-04-23为iOS成员中心改变的步骤。其它一些小的修正。Changed steps for the iOS Member Center. Other minor corrections throughout.2012-02-16新文件,展示如何合并iCloud到一个iOS应用。New document that shows 阅读全文
posted @ 2013-11-01 12:46 small英 阅读(132) 评论(0) 推荐(0)
摘要: 代码清单Code Listings本附录提供了STEAppDelegate、STEMasterViewController、STEDetailViewController、STESimpleTextDocument类的接口和实现的代码清单。代码清单没有显示从文件模板生成的方法的实现。This appendix provides listings for the interfaces and implementations of theSTEAppDelegate,STEMasterViewController,STEDetailViewController, andSTESimpleTextD 阅读全文
posted @ 2013-11-01 12:42 small英 阅读(245) 评论(0) 推荐(0)
摘要: 故障排除Troubleshooting如果你在应用运行时出现问题,尝试本章讲到的 问题-解决 途径。If you have trouble getting your app to work correctly, try the problem-solving approaches described in this chapter.诊断必须提供的配置文件问题Diagnosing Provisioning Profile Issues如果代码编译通过,但是安装到设备(真机)时出错,需要查看应用的诊断信息。If you are able to compile your code but the b 阅读全文
posted @ 2013-11-01 12:41 small英 阅读(260) 评论(0) 推荐(0)
摘要: 下一步Next Steps在此次指导中,你创建了一个复杂的iOS应用,使用iCloud保存它的文档。设计一个支持 iCloud 的应用程序,涉及很多决策,即使这样,本教程只触及表面(浅层)。当你继续了解集成 iCloud 到你的应用程序,本章提出了你可能需要的下一步的方向。In this tutorial, you created a sophisticated iOS app that used iCloud to save its documents. Designing an app to support iCloud involves many decisions, though, a 阅读全文
posted @ 2013-11-01 12:41 small英 阅读(306) 评论(0) 推荐(0)
摘要: 实现详情视图控制器Implementing the Detail View Controller主视图控制器可以生成 URLs,你现在需要一种方式建立和管理实际文件。你的Xcode项目包含一个详细视图控制器,用来展示主视图控制器上选中的内容。在这一章,你将使用详细视图控制器创建一个文档对象,展现文档当前的文本,提供一种方式来编辑文本,并将文本保存到磁盘。With the master view controller able to generate URLs, you now need a way to create and manage the actual files at those U 阅读全文
posted @ 2013-11-01 11:25 small英 阅读(189) 评论(0) 推荐(0)
摘要: 完成主视图控制器Implementing the Master View Controller现在你的应用有一个文档类,是时候开始创建接口来展示这些文件。简单文本编辑应用中,有一个storyboard文件存储所有的视图和视图控制器。这个storyboard包含一个导航控制器、一个主视图控制器、一个详细视图控制器。这一节焦点就是如何配置主视图控制器和相关的代码。Now that your app has a document class, it is time to start building the interface that will display those documents. T 阅读全文
posted @ 2013-11-01 11:24 small英 阅读(190) 评论(0) 推荐(0)
摘要: 定义你的文件子类Defining Your Document Subclass管理文件最好的方法是在iCloud中用一个基于UIDocument类的客户文件对象。这个类提供了本地和iCloud中管理文件的基本方式。使用这个类,你必须继承这个类并重写其中关于读写应用数据的方法。The best way to manage a file in iCloud is to use a custom document object based on theUIDocumentclass. This class provides the basic behavior required for managi 阅读全文
posted @ 2013-11-01 11:22 small英 阅读(249) 评论(0) 推荐(0)
摘要: About Your Third iOS App你的第三个 iOS应用,向你介绍 iCloud文件存储 API。在一个用户的 iCloud 存储中,你会使用这些 API来存储和操作文件。Your Third iOS App introduces you to the iCloud document storage APIs. You use these APIs to store and manipulate files in a user’s iCloud storage.在这个指导中,你会创建一个应用,创建和管理一个用户 iCloud 存储中的文本文件。这个应用视图作为一个初级读本,教会你 阅读全文
posted @ 2013-11-01 11:18 small英 阅读(198) 评论(0) 推荐(0)
摘要: 关于结合iCloud到你的应用About Incorporating iCloud Into Your AppiCloud是一个免费服务,用户可以访问它们的个人内容到所有设备——通过你的苹果账号(无线的,自动的)。iCloud通过结合基于网络的存储和专用的API,通过操作系统支持全面整合。苹果提供服务基础设施,备份和用户账号,这样你可以聚焦到建设可以支持iCloud的应用开发上。iCloud is a free service that lets users access their personal content on all their devices—wirelessly and au 阅读全文
posted @ 2013-11-01 00:00 small英 阅读(235) 评论(0) 推荐(0)