I saw several examples of random int in Objective-C, but all people complain about the same sequence of numbers every time the application starts. I read about sowing a random number, but I'm not sure what that means.
How can an arbitrary number be generated differently every time, even after the application has rebooted?
Can some data be stored in NSUserDefaults, and then, depending on this, different values are generated?
source
share