Reputation: 2305
I'm looking to do an iphone/ipad app which isn't a game but requires a graphical object on the screen to follow your finger so it can be placed where 'dropped'. Effectively this is drag and drop. I'm not quite sure where to start with this so am looking for tutorials, books or general advice.
Can anyone suggest good starters?
Upvotes: 2
Views: 195
Reputation: 1806
You should use the delegate function called 'touchesMoved. Here's a great tutorial about this subject:
Good luck.
http://www.edumobile.org/iphone/ipad-development/how-to-image-moved-using-touch-function-in-ipad/
Upvotes: 1
Reputation:
Have a look at this post, I believe it covers the kind of thing you're after.
After having a look on Google I also found this tutorial which may be of some use to you. It looks as though it covers exactly the kind of thing you're after in the sense of dragging something around and dropping it somewhere else.
Upvotes: 0