简体   繁体   English

XCode文档的API部分中的不同符号是什么意思?

[英]What do the different symbols in the API section of the XCode Documentation mean?

Looking at the API section on the left side of the XCode Documentation, I've always wondered what the symbols mean? 看一下XCode文档左侧的API部分,我一直想知道符号的含义是什么?

For instance, there's a "K" in a green square, a "T" in an orange square, an "M" in a blue square, etc. 例如,绿色方块中有“K”,橙色方块中有“T”,蓝色方块中有“M”等。

Is there a key for these? 这些有钥匙吗?

Thanks! 谢谢!

Rashiki Rashiki

  • C: Class, like NSString C:类,就像NSString一样
  • M: Method, like -initWithString: M:方法,如-initWithString:
  • : Define, like nil :定义,就像nil

  • f: Function, like CFStringAppend() f:函数,如CFStringAppend()
  • T: Typedef, usually enums like NSStringEncoding T:Typedef,通常是像NSStringEncoding这样的枚举
  • K: Constants, usually a member of an enum like NSUTF8StringEncoding K:常量,通常是像NSUTF8StringEncoding这样的枚举的成员
  • G: Global instances, usually strings like NSDirectoryFileType G:全局实例,通常是像NSDirectoryFileType这样的NSDirectoryFileType

I'm going to expand the list for XCode circa late 2011: 我将在2011年末扩大XCode列表:

C: Class C:班级
M: Method M:方法
#: Define #:定义
f: Function f:功能
T: Typedef T:Typedef
K: Constants K:常数
G: Global instance G:全球实例
V: Keys for a dictionary and KVO/KVC V:字典和KVO / KVC的键
E: Enumeration E:枚举
P: Property P:财产
(books,papers): Library (书籍,论文):图书馆
(a book): Category or conceptual document (一本书):类别或概念文件
(XCode icon): Sample code project (XCode图标):示例代码项目
(sheet of paper): Document page or section (纸张):文档页面或部分
?: Help article ?:帮助文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM