Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 如何使用DLog()记录NSRect值?_Objective C - Fatal编程技术网

Objective c 如何使用DLog()记录NSRect值?

Objective c 如何使用DLog()记录NSRect值?,objective-c,Objective C,我想记录包含NSRect值的“frame”的值。在DLog()中使用%@的正确方法是什么 DLog(@"frame = %@", frame); Dlog(@"frame = %@", NSStringFromRect(frame));

我想记录包含NSRect值的“frame”的值。在DLog()中使用%@的正确方法是什么

DLog(@"frame = %@", frame);
Dlog(@"frame = %@", NSStringFromRect(frame));