You should declare startTouchPosition as an instance variable (put it in the .h file between the brackets of the @interface ).
Re: the other error, you're passing a controller where the compiler expects you to pass a view. Use locationInView:self.view instead of locationInView:self .
__________________

Free Games!
|