iOS 类型编码(Type Encodings)
作者:
linbj | 来源:发表于
2018-02-07 20:46 被阅读63次
char *buf = @encode(NSObject *);
NSLog(@"encode: %s ", buf);
buf = @encode(float);
NSLog(@"encode: %s ", buf);
buf = @encode(NSString *);
NSLog(@"encode: %s ", buf);
buf = @encode(NSString *[4]);
NSLog(@"encode: %s ", buf);
buf = @encode(NSArray *);
NSLog(@"encode: %s ", buf);
buf = @encode(ICETestExample);
NSLog(@"encode: %s ", buf);
tesssss[1645:548704] encode: @
tesssss[1645:548704] encode: f
tesssss[1645:548704] encode: @
tesssss[1645:548704] encode: [4@]
tesssss[1645:548704] encode: @
tesssss[1645:548704] encode: {?=^idi}
image.png
Type Encodings
本文标题:iOS 类型编码(Type Encodings)
本文链接:https://www.haomeiwen.com/subject/zgdazxtx.html
网友评论