Contents

SSRandomIntBetween(_:_:)

Returns a random integer value.

Declaration

func SSRandomIntBetween(_ a: Int32, _ b: Int32) -> Int32

Parameters

  • a:

    The first integer value.

  • b:

    The second integer value.

Discussion

The Screen Saver framework automatically seeds the random() C function to generate the number.

See Also

Utilities