问题 NSInteger之前的那个符号是什么? [重复]


这个问题在这里已有答案:


3001
2018-05-14 07:09


起源



答案:


这是清单:

T - typedef
C - Class
# - #define
V - Property
K - Constant
f - C Function
M - Objective C Method

10
2018-05-14 07:13





这是一个更完整的符号列表,取自 这个 题。

红色:宏

# = macro (think #define)

布朗:核心数据/命名空间

C = modeled class
M = modeled method
P = modeled property
N = C++ namespace

橙色:别名类型

C̲ = Objective-C category
E = enum
T = typedef

绿色:变量

B = binding
ƒ = function
F = field
K = constant
L = local variable
O = IBOutlet
V = variable (can be ivar, global var, local var, etc.)
x = parameter (think f(x))

蓝色:方法

A = IBAction
M = method
P = property

紫色:聚合类型

C = class (Objective-C or C++)
₠ = class extension
Pr = Objective-C protocol
S = struct
U = union

4
2018-05-14 07:32



如果您认为之前已经回答了确切的问题,您可以将评论或标记作为副本。没有必要发布 确切的副本 对同一个问题的答案。 - 顺便说一句。当前Xcode版本不存在您的答案结尾处给出的路径。 - Martin R
更新了有关路径的答案。从现在开始,我会关注这些重复的东西。谢谢你的提示! - aksh1t


答案:


这是清单:

T - typedef
C - Class
# - #define
V - Property
K - Constant
f - C Function
M - Objective C Method

10
2018-05-14 07:13





这是一个更完整的符号列表,取自 这个 题。

红色:宏

# = macro (think #define)

布朗:核心数据/命名空间

C = modeled class
M = modeled method
P = modeled property
N = C++ namespace

橙色:别名类型

C̲ = Objective-C category
E = enum
T = typedef

绿色:变量

B = binding
ƒ = function
F = field
K = constant
L = local variable
O = IBOutlet
V = variable (can be ivar, global var, local var, etc.)
x = parameter (think f(x))

蓝色:方法

A = IBAction
M = method
P = property

紫色:聚合类型

C = class (Objective-C or C++)
₠ = class extension
Pr = Objective-C protocol
S = struct
U = union

4
2018-05-14 07:32



如果您认为之前已经回答了确切的问题,您可以将评论或标记作为副本。没有必要发布 确切的副本 对同一个问题的答案。 - 顺便说一句。当前Xcode版本不存在您的答案结尾处给出的路径。 - Martin R
更新了有关路径的答案。从现在开始,我会关注这些重复的东西。谢谢你的提示! - aksh1t


  1. # - Macro define

  2. V - 财产

  3. M - 方法

  4. K - 常量变量

  5. f - 功能

  6. T - typedef枚举

  7. C级

  8. {} - 实例类型块


0
2018-05-14 07:18