.APINOTES 文件扩展名

Swift Objective-C API Note

开发者 Apple
受欢迎程度
3.5  |  24 
 

什么是 APINOTES 文件?

An APINOTES file is a metadata file used by a program written in Apple's Swift programming language. It contains annotations for an Objective-C API that the program is accessing. The APINOTES file provides additional semantic information that is not present within the Objective-C API's headers.

更多信息

Swift is an Apple-maintained programming language that developers use to create programs for macOS, iOS, tvOS, and watchOS. Developers creating Swift programs may have those programs make API calls to programs written in Objective-C, which is the language Swift replaced.

If an Objective-C API's header does not contain all the information needed for the Swift program to correctly interpret information it receives from the API, developers can annotate the API using an APINOTES file. This file contains YAML-formatted text that defines how and what information a Swift program can receive from the associated Objective-C API.

After a developer creates an APINOTES file, they must place it in the same directory as the Objective-C framework to which it corresponds and update CMakeLists.txt. Then, the next time the developer builds their Swift program, the compiler will load the APINOTES file along with the corresponding framework.

如何打开 APINOTES 文件

You can open and edit an APINOTES file in any text or source code editor, such as GitHub Atom, Sublime Text, or Microsoft Visual Studio Code. Source code editors, like the previously mentioned programs, contain tools that make it easier to review and edit the text APINOTES files contain.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开 APINOTES 文件的程序

Windows
Linux
分类: 开发者
更新时间: 2022-05-26

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Swift Objective-C API Note 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们