iOS method signature runtime type encodings
|
Code |
Meaning | |
|---|---|---|
|
|
A |
|
|
|
An |
|
|
|
A |
|
|
|
A
|
|
|
|
A |
encoding (Q) |
|
|
An |
|
|
|
An |
|
|
|
An |
|
|
|
An |
|
|
|
An |
|
|
|
A |
|
|
|
A |
|
|
|
A C++ |
|
|
|
A |
|
|
|
A character string ( |
|
|
|
An object (whether statically typed or typed |
encoding (@) |
|
|
A class object ( |
|
|
|
A method selector ( |
|
|
[array type] |
An array |
|
|
{name=type...} |
A structure |
|
|
(name=type...) |
A union |
|
|
|
A bit field of num bits |
|
|
|
A pointer to type |
|
|
|
An unknown type (among other things, this code is used for function pointers) |

浙公网安备 33010602011771号