GKRandomSource.SharedRandom Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the system-wide random source that is neither deterministic nor independent.
public static GameplayKit.GKRandomSource SharedRandom { [Foundation.Export("sharedRandom")] get; }
member this.SharedRandom : GameplayKit.GKRandomSource
Property Value
- Attributes
Remarks
This source shares state with the system-wide arc4random
C functions. Because this PRNG shares state, it is probably a poor choice except for trivial applications.