iPhone: Touch, Drag, Hit!
May 1, 2009 | Filed Under Mac OS X, iPhone | 4 CommentsYesterday, Fredrik has asked me something like “Drag & Drop with Hit Test” on the iPhone. Here’s a simple example. There’s a simple UIView class that handles the touch events and a protocol that says that if the “DragMe View” has hit or not the “HitMe View”. Below you can see the result and the Source Code Link.
The source code is available here: Touch, Drag, Hit Source Code.
