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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Random Rocks
View Single Post
Old 01-06-2010, 09:59 PM   #29 (permalink)
kdp8791
Registered Member
 
Join Date: Sep 2009
Posts: 57
Default

Quote:
Originally Posted by smasher View Post
You only have one rock, myRock, right? you could remove it with [myRock removeFromSuperview] .

You probably just want to move it back to the top of the screen though, since you only have the one, right? If you remove it you have no rock on the screen.
Thats right. I only have one myRock on the screen, when one image floats and disappears another appears. If I add [myRock removeFromSuperview]; to the if(CGRectIntersectsRect) then when the images collide I get a EXC_BAD_ACCESS
__________________
kdp8791 is offline   Reply With Quote
 

» Advertisements
» Online Users: 337
13 members and 324 guests
ADY, antonwilliams, dacapo, dcool, HemiMG, jakerocheleau, leahov, michelle, MozyMac, nobre84, smithdale87, thh022, vogueestylee
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,222
Posts: 380,721
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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