美文网首页
苹果的apinotes文件

苹果的apinotes文件

作者: 靳涛 | 来源:发表于2018-01-04 14:25 被阅读0次

    Github-apinotes

    http://apinotes.com

    API Notes README

    API notes provide a mechanism by which Objective-C APIs can be annotated with additional semantic information not present within the original Objective-C headers. This semantic information can then be used by the Swift compiler when importing the corresponding Objective-C module to provide a better mapping of Objective-C APIs into Swift.

    API notes are organized into a set of .apinotes files. Each .apinotes file contains annotations for a single Objective-C module, written in YAML (FIXME: to be) described below. These YAML sources must be manually compiled into a binary representation (.apinotesc) that the Swift compiler will lazily load when it builds code, also described below.

    相关文章

      网友评论

          本文标题:苹果的apinotes文件

          本文链接:https://www.haomeiwen.com/subject/tyjrextx.html