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: Platform game
View Single Post
Old 02-10-2010, 03:48 PM   #6 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

Quote:
Originally Posted by talakoski View Post
I have now opened up a Viewed based application and imported a picture into the resources folder but now I got to add a code I think I can get a code but now I forget where to put the code in the classes?
Most of your code will probably go in the viewController. It'll be called "MyViewController" or something similar containing the name of the project. You can put your code to create the ball in loadView or viewDidLoad, and the to start the timer in viewDidAppear.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 340
17 members and 323 guests
ADY, BrianSlick, dacapo, fiftysixty, john love, Joseph Nardone, laurielaptop, ligerligerliger, mizzytheboy, oztemel, poisenden, Sunny46, syver, themathminister, TheWebWizz, XRumerTest
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,701
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

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