Düzenle

Aracılığıyla paylaş


GKRandomSource.SharedRandom Property

Definition

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.

Applies to