Currently, in Objective-C does not exists a class that provides a simple way to generate a random number. Anyway, we can use some C functions like: rand(), srand(), random(), srandom() e arc4random().

The most used function is arc4random() because no needs to init or seed functions and return a good random number.