I was optimizing my app and wanted to know that how much is the size of the object, so that I can also show it in log.
附录一
NSDictionary *temp=(NSDictionary*)[Data objectAtIndex:i];
//data is defined in the .h file
现在我会知道,物体的大小是多少?
我尝试采用不同的观点,在节节中,我发现:
instance_size=(long int)30498656
Is the instance_size
the exact size of my temp object?.
我也曾尝试过审判。
sizeof(temp);
但它在这一点上坠毁。 任何帮助......