I am a newbie and currently developing a Cocoa application that
requires the function "Random". I have already written most of the
code and it works fine.
My main problem is that I do not know where to declare the variable
"randSeed". According to the doentation it should be declared as a
global variable. I have already created an appropriate init for the
variable (on launch it writes the current date and time into the
variable). However "Random" always returns the same sequence of
pseudorandom numbers after launch.
Where do I declare the global variable "randSeed"?...