Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

XCode iPhone SDK Tutorial: CGRectIntersectsRect/UIImageView Collision

Loading...

Sign in or sign up now!
18,772
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 3, 2009

All made in Iphone SDK Xcode 3.2

Tutorial on using CGRectIntersectsRect to detect collision. You will build an app to drag one image and collide it with an other Image!

Links:
Image 1: http://www.mediafire.com/?ymjjd3t00oj
Image 2: http://www.mediafire.com/?gnz1iegkykt

  • likes, 12 dislikes

Link to this comment:

Share to:

Uploader Comments (CathyDirector)

  • I tried it was so comlicated to u have vc to help me

  • How i can help you?

  • in your psp 3000 unboxing you look different why?

  • In my PSP Video i have brown hair

  • Are you going to be making any photoshop or after effects tutorials soon?

  • Yes i will.

Top Comments

  • That's a semicolon, not a quotation mark.

  • I have a request:

    We don't need to see the process of typing code. You may as well paste the code in section by section, but please at least explain WHY the code does what it does. That's what will help people understand iPhone development.

see all

All Comments (38)

Sign In or Sign Up now to post a comment!
  • could you make a source code so we can copy and paste so it is easier!

    thanks!

  • i am trying to drag a rect that i made in draw rect and no matter what i do it constantly makes me drag from the top left corner of the rect. I've tried to modify the location of the gesture but nothing seems to be working. What should i do to make it drag from the center of the rect?

  • hey so I have already started a view based application and put lots of things into it and is there any way to use collision code in a view based application instead of what you are using right now?

  • for what u using this program monky

  • Thank u for the vids. Very informative for a beginner like me!

  • Great tutorial you did a very good job of explaining everything and i like how you zoomed close to the text and you did not put the camera view far away form the text!

  • Great vid, how would add mulit images like a puzzle and then add motion to them to make them spin or move. Thanks

  • Hey cathy I was wondering what recording program you are using and i did not know you made apps i am working on putting one on app store well a few.

  • @QuantumAnomaly i agree

  • hey kid, why are you so genius? I also want to learn it

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more