I need to capture the coordinates of a continuous touch as it happens at the fastest frame rate possible. Can something be done with calls to touches moved? As in storing each successive coordinate captured into an array? Thanks again!
Well that is as far as I got by thinking about it, I've been looking around the help files for an idea on how to implement it and the idea I have is using
- (CGPoint)locationInViewUIView *)view
to return the location of the touch in time intervals, but I have had a hard time implementing it.
I am new to developing so what is simple to some is still complicated for me. I figure this is part of the learning process and wont last long so if someone knows of a better way to do this in the SDK I would greatly appreciate it! Thanks guys.
Be more specific about what you have and what's not working. Show some code. Show what errors (if any) you get compiling the code. It's a lot easier to offer help when there is something concrete to talk about. We were all new once. One of the important skills needed by anyone, especially newer programmers, is how to ask good questions and be clear on what is needed.
(to RickMaddy) you're right, I was just thinking that after I posted.
I need to get continuous coordinates for a touch while it is moving so I am trying to call locationInView during touchesMoved and saving it to a point with.
Point a;
a = locationInView;
or a = locationInView(nil) to get the coordinate in reference to the whole window.
I get an error "'locationInview' undeclared (first use in this function)
Is touchesMoved the right place to be trying to get this information? Thanks.
Thanks! I really appreciate it. I once again apologize for not wording my question right, it wont happen again! This information has been a huge help and Ive learned a lot.