Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is that symbol before NSInteger? [duplicate]

Tags:

ios

when we type NSInteger in Xcode, then a symbol shows before it like: C, #, T etc.

So what is that symbol stands for?

I share a screenshot please anybody can guide me ?

enter image description here

like image 511
user3631436 Avatar asked May 14 '14 07:05

user3631436


2 Answers

Here is the list:

T - typedef
C - Class
# - #define
V - Property
K - Constant
f - C Function
M - Objective C Method
like image 185
Midhun MP Avatar answered Oct 26 '22 07:10

Midhun MP


Here is a more complete list of symbols, taken from this question.

Red: Macros

# = macro (think #define)

Brown: Core Data / Namespace

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

Orange: Aliased types

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

Green: Variables

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))

Blue: Methods

A = IBAction
M = method
P = property

Purple: Aggregate types

C = class (Objective-C or C++)
₠ = class extension
Pr = Objective-C protocol
S = struct
U = union
like image 44
aksh1t Avatar answered Oct 26 '22 07:10

aksh1t