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
网友评论