我有一个叫做“估算”的国家统计系统,其名称为:
animation=[rowInDataBase objectAtIndex:2] ;
NSLog(@"animation:%@",animation);
当我试图做以下工作时:
previousAnimation=animation;
The previousAnimation is assigned ccsprite
.
When I try to logging previousAnimation
to check its value with NSLog(@"previous-animation:%@",previousAnimation);
, the application crashes unless previousAnimation
is NULL
在我的任务中,我做了什么错误?