Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-27-2009, 05:42 PM   #24 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,570
Default

Quote:
Originally Posted by LeopardDevX View Post


The spawn code works perfectly...but the move
Post the code where you create the array "enemies" . There should be a line like this when the view first loads, to initialize the array:

Code:
enemies = [[NSMutableArray alloc] init];
If you're doing that ok, then put a breakpoint on the line "for (UIView *anEnemy in enemies){
" , and tell me how many objects are in "enemies" .
__________________
smasher is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 260
21 members and 239 guests
andrei_c, ataranlen, bensj, Bertrand21, carendt242, cye, harkonian, ihua, iTrackiGiveaway, jonahgabriel, Lars, ltgbau, maverick0, pjlocko, refreshe, RJaus, RobotWoods, SirGeraint, smrtital, warmi, zxl777
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,224
Threads: 39,002
Posts: 171,077
Top Poster: smasher (2,570)
Welcome to our newest member, SpeJohn613
Powered by vBadvanced CMPS v3.1.0

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