Apple Developer文档笔记(二)Bundle Resources & Foundation

导语

这篇文章是方便自己学习理解苹果开发者的文档的笔记,希望能给有需要的同学一些帮助,因为自己翻译理解的内容,
必然存在一些不足,还望指出。

Apple Developer

(https://developer.apple.com/)苹果开发者网站

笔记

Framework Bundle Resources

Overview(综述)
A bundle is a directory with a standardized hierarchical structure that holds 
executable code and the resources used by that code. The bundle contains resources 
that may be accessed at runtime, such as images, audio files, user interface files, 
and property lists.

*注释
包是一个目录下标准的分层次的可执行的以及被作为资源加载的代码构造。这个包包含的资源可
能是运行时从路径中获取的,例如图片,音频文件,用户指针文件或者属性列表。

	Property Lists
	
		Property List Entitlements
	
		Discussion(讨论)
		An entitlement is a single right granted to a particular app, tool, or 
		other executable that gives it additional permissions beyond what it would 
		ordinarily have. Some entitlements are represented by key-value pairs in 
		the entitlements file in your project (a file with a .entitlements file 
		extension), and others are enabled for an App ID in your developer account.

		If you configure capabilities using Xcode, Xcode manages the related 
		entitlements so you don't need to edit the entitlements file or an App ID 
		directly. Capabilities such as Apple Pay and push notifications, however, 
		may require additional steps to configure in your developer account.
	
		For detailed configuration steps, go to Add a capability to a target.
		
		*注释
		权限是一项被赋予的权利给一些特别的app,工具,或者其他可执行的被赋予了超过了
		平常拥有的权限的应用。一些权限是被你的项目(文件后缀名是.entitlements)通过
		key-value pairs in(键值对)在权限文件中代表,并且在其他被激活在你的开发者账
		户中的App ID。
		
		如果你配置使用了Xcode的功能,Xcode管理有关的一些权限,因此你不必在去优先编辑
		这些权限文件或者App ID。然而,一些例如Apple Pay或者推送通知的功能,也许可能
		需要进行一些额外的步骤去配置你的开发者账号。
	
Framework Foundation
	
Overview(综述)
The Foundation framework provides a base layer of functionality for apps and 
frameworks, including data storage and persistence, text processing, date and time 
calculations, sorting and filtering, and networking. The classes, protocols, and 
data types defined by Foundation are used throughout the macOS, iOS, watchOS, and 
tvOS SDKs.	
	
*注释
Foundation 框架提供了一个底部的功能性层给到apps和很多框架,包括数据储存和保留,文
本加工,数据和时间计算,排序和过滤,以及网络。通过这个Foundation 声明类,协议,以及
数据类别经常用于macOS,iOS,watchOS和tvOS 的SDK中。

	Fundamentals(基本面)
	
		Numbers,Data,and Basic Values(数字,数据,基值)
		
		String and Text(sting类型和text类型)
		
		Collections(采集的)
		
		Dates and Times(日期和时间)
		
		Units and Measurement(单位)
		
		Data Formatting(格式化数据)
		
		Filters and Sorting(过滤和排序)

	App Support(App 支持)
	
		Task Management(任务管理)
		
		Resources(资源)
		
		Notifications(通知)
		
		App Extension Support(应用扩大支持)
		
		Errors and Exceptions(错误和免责)
		
		Scripting Support(脚本支持)

	Files and Data Persistence(文件和数据保留)
	
		File System(文件格式)
		
		Archives and Serialization(存档和序列化)
		
		Preferences(参数选择)
		
		Spotlight(聚焦)
		
		iCloud(iCloud云盘)
		
	Networking(网络)
		
		URL Loading System(URL 加载格式)
		
		Bonjour(服务器搜索服务)

	Low-Level Utilities(底层工具)
	
		XPC(管理安全的进程间的通讯)
		
		Object Runtime(对象运行)
		
		Processes and Threads(进程和线程)
		
		Streams,Sockets,and Ports(数据流,接收,端口)
	
	Structures(结构)
	
		NSOrderedCollectionDifferenceCalculationOptions
		
		Declaration(声明)
		struct NSOrderedCollectionDifferenceCalculationOptions
	
	classes(类)
		
		Declaration(声明)
		
		class ListFormatter : Formatter
		
		class NSOrderedCollectionChange : NSObject
		
		class NSOrderedCollectionDifference : NSObject
	
		class RelativeDateTimeFormatter : Formatter()
	
		class NSSecureUnarchiveFromDataTransformer : ValueTransformer()
	
		class NSXPCCoder : NSCoder
	
		class URLSessionWebSocketTask : URLSessionTask
	
		class UnitInformationStorage : Dimension
	
	Protocols(协议)
	
		protocol ContiguousBytes
		
		protocol 
		DataProtocol where Self.Element == UInt8, Self.SubSequence : DataProtocol
	
		protocol MutableDataProtocol
	
		protocol URLSessionWebSocketDelegate
		
	Reference(参考)
	
		Foundation Enumerations
		
		Foundation Constants
		
		Foundation Data Types

你可能感兴趣的:(Apple,Apple,Developers,学习笔记)