Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-20-2009, 09:02 AM   #10 (permalink)
thomaswguy
Registered Member
 
Join Date: Oct 2009
Posts: 11
thomaswguy is on a distinguished road
Default Update.

That code really helped me out Brix, i can now move all of the dots that are on the screen, AND if i click in a blank space a new dot is created.

I used the method you used to discover which image needs to be moved (CGRectContainsPoint) which is looking for the lastTouch in the UIImageView Frame.

The only issue i am having with that is that when you move a dot too quickly it drops it because obviously the last touch managed to leave the frame of the UIImage..... not sure if this would act differently on the device?

To stop it from creating a new image every-time, and still have the ability to move all images i created a similar loop to you in Touches began.... If the user touches a UImage view it exits from the touches began method Else, create new image.... make sense? (if you want me to post the code i can)

SO! a couple of issues!

1. When i'm dragging a UIImageView, if the image runs over the top of another image, it will drop the image i am currently moving and pick up the other one! Don't have the foggiest how i might resolve this, but i'm thinking about it ... so i would be grateful for any ideas.

2. If you move your finger too fast it drops the image you are moving... i think this is because in touchesMoved we are moving UIImages if the coordinates of the current touch is within the frame of the image..and if you go to quickly it leaves the frame?? sound right?

Any help with those two points would be super helpful.

If i come up with anything i will post it here
thomaswguy is offline   Reply With Quote
 

» Advertisements
» Online Users: 499
21 members and 478 guests
alexonit, Apptronics RBC, Bryan1, coolman, David Phan, denicevh18, devno, Djaker, dljeffery, Droverson, Duncan C, Hassasin, HemiMG, ilmman, Kirkout, mer10, mpsventas, Newbie123, newprogrammer, Speed, t_hgezhong
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,315
Threads: 93,989
Posts: 402,428
Top Poster: BrianSlick (7,978)
Welcome to our newest member, alexonit
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.