Quote:
Originally Posted by will.ray
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.