第三天-核心应用程序---2018-05-30

本文原文链接地址

核心应用程序

管理你的应用程序的数据模型和它与系统的交互。(Manage your app's data model and its interactions with the system.)

话题

应用程序

管理你的应用程序的生命周期

了解应用程序代理如何管理你的应用程序的高级行为。(Understand how the app delegate manages your app's high-level behavior.)

UIApplication

iOS中运行的应用程序的集中控制点和协调点。(The centralized point of control and coordination for apps running in iOS.)

UIApplicationDelegate

由单例UIApplication对象调用的一组方法,以响应应用程序生命周期中的重要事件。
(A set of methods that are called by the singleton
UIApplication
object in response to important events in the lifetime of your app.)

UIApplicationMain

创建应用程序对象和应用程序委托及设置事件循环。(Creates the application object and the application delegate and sets up the event cycle.)

设备环境

响应Apple TV上的更改显示模式

当设备上的屏幕色域发生变化时,动态更改图像和资源。(Change images and resources dynamically when the screen gamut on your device changes.)

UIDevice

当前设备的表现。(A representation of the current device.)

UITraitCollection

适用于你的应用的iOS界面环境,如横向和纵向尺寸类,显示比例和用户界面惯用语等特征定义。(The iOS interface environment for your app, defined by traits such as horizontal and vertical size class, display scale, and user interface idiom.)

UITraitEnvironment

使你的应用程序可以使用iOS界面环境的一组方法。(A collection of methods that makes the iOS interface environment available to your app.)

UIAdaptivePresentationControllerDelegate

一组与方法控制器一起确定如何响应应用程序中特征变化的方法。(A set of methods that, in conjunction with a presentation controller, determine how to respond to trait changes in your app.)

文档

UIDocument

用于管理应用程序数据的离散部分的抽象基类。(An abstract base class for managing discrete portions of your app's data.)

UIManagedDocument

与Core Data集成的托管文档对象。(A managed document object that integrates with Core Data.)

纸板(Posteboard)

UIPosteboard

帮助用户在你的应用内从一个地方分享到另外一个地方或从你的应用程序分享到另外一个程序的对象。(An object that helps a user share data from one place to another within your app, and from your app to other apps.)

UIPasteConfiguration

对象实现这个接口,用于声明其接受特定数据类型以粘贴和拖放活动的能力。(The interface that an object implements to declare its ability to accept specific data types for pasting and for drag and drop activities.)

UIPasteConfigurationSupporting

确定响应对象是否支持粘贴配置的接口。(The interface that determines whether a responder object supports paste configuration.)

数据管理(Data Management)

保护用户隐私

通过保护个人数据和尊重用户的数据如何使用的意愿来保护用户的隐私。(Protect user privacy by securing personal data and respecting the user's wishes with how data is used.)

通过自定义Url来与其它应用程序通信

使用是特殊格式的URL从其它程序接受数据。(Receive data from other apps using specially formatted URLs.)

UIDataSourceModelAssociation

一组定义用于提供对应用程序中数据对象的持久引用的接口的方法。(A set of methods that defines an interface for providing persistent references to data objects in your app.)

活动(Activities)

UIActivity

实现app-specific服务子类的抽象类。(An abstract class that you subclass to implement app-specific services.)

UIActivityViewController

一个你用来提供标准服务的视图控制器。(A view controller that you use to offer standard services from your app.)

UIActivityItemSource

活动视图控制器用于检索要执行的数据项的一组方法。(A set of methods used by an activity view controller to retrieve the data items to act on.)

UIActivityItemProvider

传递数据到活动视图控制器的代理。(A proxy for data passed to an activity view controller.)

指导访问

UIGuidedAccessRestrictionDelegate

一组用于为iOS中的引导式访问功能添加自定义限制的方法。(A set of methods you use to add custom restrictions for the Guided Access feature in iOS.)

UIGuidedAccessRestrictionStateForIdentifier

返回指定的指导访问限制的限制状态。(Returns the restriction state for the specified guided access restriction.)

参见

App Structure

程序资源管理

管理您在主可执行文件外部存储的图像,字符串,故事板和nib文件。

应用扩展

扩展你的应用基础功能到系统的其他部分。(Extend your app's basic functionality to other parts of the system.)(谷歌翻译:将应用的基础功能扩展到系统的其他部分)

后记:笔者发现,这样以日期来做笔记是有问题的。生活中,总有各种各样的事情会占用你的业余时间。尽管你压缩了其它的时间,也无法按照原定的计划完成。所以,以后并不一定真实的每一天都会记笔记,虽然名字也叫做第某天。

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,199评论 0 10
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,605评论 5 6
  • 去马尔代夫之前一定要看的 最近从论坛里看到一个妹子发的帖子,说的是自己和一个第二次见面的相亲对象,相约去马尔代夫发...
    中年妇女不油腻阅读 3,647评论 0 2
  • 我带着自由的笔, 冲进人群里, 画出生活的面孔, 眼睛, 每一双放大的瞳孔, 我带着孤独的笔, 远离人群外, 画了...
    自由的梦想家阅读 1,324评论 0 3
  • 文/風雨綫 校历显示,本学期放假时间为2017年1月20日,其实,我们都知道,到期末,依惯例,估计一月十五号左右就...
    風雨綫阅读 4,191评论 6 1

友情链接更多精彩内容