Comparing Touch Coordinates
Is it possible to compare touch coordinates made by the users on the UIView to the one store in a plist or txt format? The argument looks like this; if (user touch coordinate == touch coordinate stored in plist or text) then (do something) else (do something) If possible in what format should i write the coordinates in the list and how to associate it inside the program? thanks in advance and sorry if you find my question a bit noobie. Not sure if there's a one-liner solution. On a UITouch instance, the locationInView: method returns a CGPoint struct (x and y coordinates, both of type float).