摘要: 完成主视图控制器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英 阅读(183) 评论(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英 阅读(228) 评论(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英 阅读(191) 评论(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英 阅读(225) 评论(0) 推荐(0) 编辑
摘要: CGContext ReferenceDerived from CFType ReferenceFrameworkApplicationServices/ApplicationServices.hCompanion guideQuartz 2D Programming GuideDeclared inCGContext.hOverviewThe CGContextRef opaque type represents a Quartz 2D drawing destination. A graphics context contains drawing parameters and all de 阅读全文
posted @ 2013-10-22 16:46 small英 阅读(761) 评论(0) 推荐(0) 编辑
摘要: CALayer Class ReferenceInherits fromNSObjectConforms toNSCodingCAMediaTimingNSObject (NSObject)Framework/System/Library/Frameworks/QuartzCore.frameworkAvailabilityAvailable in iOS 2.0 and later.Declared inCALayer.hCAScrollLayer.hCATransform3D.hCompanion guidesCore Animation Programming GuideCore Ani 阅读全文
posted @ 2013-10-22 15:52 small英 阅读(453) 评论(0) 推荐(0) 编辑
摘要: CAAnimation Class ReferenceInherits fromNSObjectConforms toNSCodingNSCopyingCAActionCAMediaTimingNSObject (NSObject)Framework/System/Library/Frameworks/QuartzCore.frameworkAvailabilityAvailable in iOS 2.0 and later.Declared inCAAnimation.hCompanion guidesCore Animation Programming GuideCore Animatio 阅读全文
posted @ 2013-10-22 15:37 small英 阅读(297) 评论(0) 推荐(0) 编辑
摘要: CAPropertyAnimation Class ReferenceInherits fromCAAnimation : NSObjectConforms toNSCoding (CAAnimation)NSCopying (CAAnimation)CAAction (CAAnimation)CAMediaTiming (CAAnimation)NSObject (NSObject)Framework/System/Library/Frameworks/QuartzCore.frameworkAvailabilityAvailable in iOS 2.0 and later.Declare 阅读全文
posted @ 2013-10-22 15:36 small英 阅读(310) 评论(0) 推荐(0) 编辑
摘要: CABasicAnimation Class ReferenceInherits fromCAPropertyAnimation : CAAnimation : NSObjectConforms toNSCoding (CAAnimation)NSCopying (CAAnimation)CAAction (CAAnimation)CAMediaTiming (CAAnimation)NSObject (NSObject)Framework/System/Library/Frameworks/QuartzCore.frameworkAvailabilityAvailable in iOS 2. 阅读全文
posted @ 2013-10-22 15:14 small英 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 错误检查和代码重查Troubleshooting and Reviewing the Code如果你的应用不能正确运行,尝试问题-解决路径。如果你的应用还是没有运行,将你的代码与本章最后的列表对照一下。If you are having trouble getting your app to work correctly, try the problem-solving approaches described in this chapter. If your app still isn’t working as it should, compare your code with the li 阅读全文
posted @ 2013-10-11 00:03 small英 阅读(143) 评论(0) 推荐(0) 编辑