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 04-13-2009, 10:35 AM   #8 (permalink)
hlcole
New Member
 
Join Date: Apr 2009
Posts: 1
hlcole is on a distinguished road
Default Additional Help

Quote:
Originally Posted by will.ray View Post
you made some good points.. i am doing some of what you say on the window code... I forgot to mention you need to seed the random generator with

srandom(time(NULL)); //seed random num generator

in your viewdidload ... i did it there, it doesn't matter as long as it gets called before you try to get a random number.

I am new to Objective C and XCode and this is a great learning example. I am having some trouble compiling with the Typedef enums in there. Any additional pointers would be great.
hlcole is offline   Reply With Quote
 

» Advertisements
» Online Users: 470
15 members and 455 guests
7twenty7, brainspoon, Creativ, dre, EmidoroSmibre, Evilelement, Hamood, iLearnColors, LegionMD, PavelMik, pbart, pipposanta, QuantumDoja, ryantcb, smithdale87
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,615
Threads: 94,086
Posts: 402,795
Top Poster: BrianSlick (7,990)
Welcome to our newest member, PavelMik
Powered by vBadvanced CMPS v3.1.0

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