Objective-C type encodings
2015-09-23 21:15
295 查看
Table 6-1 Objective-C type encodings
Code | Meaning |
c | A char |
i | An int |
s | A short |
l | A long l is treated as a 32-bit quantity on 64-bit programs. |
q | A long long |
C | An unsigned char |
I | An unsigned int |
S | An unsigned short |
L | An unsigned long |
Q | An unsigned long long |
f | A float |
d | A double |
B | A C++ bool or a C99 _Bool |
v | A void |
* | A character string (char *) |
@ | An object (whether statically typed or typed id) |
# | A class object (Class) |
: | A method selector (SEL) |
[array type] | An array |
{name=type...} | A structure |
(name=type...) | A union |
bnum | A bit field of num bits |
^type | A pointer to type |
? | An unknown type (among other things, this code is used for function pointers) |
相关文章推荐
- struts2 Map<String,Object>session心得 浅析
- Mybatis之配置文件中的objectFactory节点内容说明
- 打开页面出现Object reference not set to an instance of an object错误
- 关于swift与objective-c混合编译
- Objective-C入门20:Block
- 在java代码里写Map<String, ?>和Map<String, Object>都是可以用的,他们两个有什么区别?
- Objective-C Runtime Messaging
- 改善Objective-C的日志输出
- Objective-C入门18:KVO
- QMetaObject之invokeMethod说明和使用
- Object-c基础语法
- DynamicCRM清理PrincipalObjectAccess表,清理POA,清理WorkFlowLog
- DynamicCRM清理PrincipalObjectAccess表,清理POA,清理WorkFlowLog
- Objective-C GCC Code Block Evaluation C Extension ({…})语法
- Objective-C中NSNumber与NSDictionary的用法简介
- WaitForSingleObject函数的使用
- Object-C 验证手机号
- Json-smart实现JSONObject、JSONString、Beans之间的转换
- Objective-C Runtime Classes
- 3.Objective-C 类