when i build the app i get a warning on the UITouch line saying
Incompatible Object-c initializing ‘struct NSArray *’, expected ‘struct UITouch *’
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *myTouch = [[event allTouches] allObjects];
player.center = [myTouch locationInView:self.view];
}
and when i run the app it all starts fine until i click the player and then it closes down. can anyone help?
Possibly you meant:
or: