4

基本上我在苹果瓷砖示例的滚动视图中使用 calayer。

我似乎得到了这个奇怪的输出到 consol(目标输出)。我说它奇怪的原因是因为它看起来像你从断点打印变量时得到的日志,因为你可以看到日志开头没有日期、时间和类,就像你通常使用 NSLog 得到的那样。

我所有的断点都计算在内。代码中没有 c stile printf。并且我所有的 NSLog 都被计算在内,即使它不能来自 NSLog。

我只想摆脱日志。有什么想法吗?

$//add this line to help others find this article
$wx=0, wy=0, rx=0 ry=0

$//here is a real snippet of the log

$wx=0.273110, wy=0.287260, rx=0.632260, ry=0.344220
$gx=0.279140, gy=0.590130, bx=0.122600, by=0.060770
$wx=0.273110, wy=0.287260, rx=0.632260, ry=0.344220
$gx=0.279140, gy=0.590130, bx=0.122600, by=0.060770
$wx=0.273110, wy=0.287260, rx=0.632260, ry=0.344220
$gx=0.279140, gy=0.590130, bx=0.122600, by=0.060770
$wx=0.273110, wy=0.287260, rx=0.632260, ry=0.344220
$gx=0.279140, gy=0.590130, bx=0.122600, by=0.060770
$wx=0.273110, wy=0.287260, rx=0.632260, ry=0.344220
$gx=0.279140, gy=0.590130, bx=0.122600, by=0.060770
$wx=0.273110, wy=0.287260, rx=0.632260, ry=0.344220
4

1 回答 1

0

最后没找到。

我开始了一个新项目并一点一点地复制文件,直到我重新创建了没有奇怪日志的项目。

于 2012-05-28T13:23:17.807 回答