NSMutableArray *foo = [NSMutableArray arrayWithCapacity:12];
NSLog(@" foo is 0x%x", foo); // worked in XCode 4.0 to return the hex address of this variable
现在它给出编译器警告:
转换指定类型“无符号整数”,但参数的类型为“NSMutableArray”
例如,如何获得像“foo is 0x53a6d0”这样的输出?