我有一个 NSlog 在调试器中给出奇怪的输出。我如何让它显示正确的价值?
NSError *error = nil;
NSArray *data;
[self setStatus:@"Syncing data..."];
self.userInfo = [self.cloud Authenticate:[self serialNumber]];
if ( self.deviceInfo )
{
data = [self.device GetData:&error];
if ( !data )
{
[self displayErrorMessage:error];
data = [NSMutableArray array];
}
//data received from device: Log point
NSLog(@"data received from device: %@",data);
调试器输出
"<DataPoint: 0x1001f81b0>",
"<DataPoint: 0x10012f5f0>",
"<DataPoint: 0x1001f7780>",
"<DataPoint: 0x1001f8780>",