Xcode 中的错误为:将 CGPoint (aka 'struct CGPoint') 发送到不兼容类型 'void *' 的参数
我正在做的是:
CCSprite* coordinate= path[i];
CGPoint posSending = coordinate.position;
id handleTail = [CCCallFuncND actionWithTarget:self selector:@selector(handleTail:)data:posSending];
//handleTail
-(void)handleTail:(CGPoint)pos{
}
是什么导致了这个错误?