NSArray_GameplayKit.GetShuffledArray Method

Definition

Overloads

GetShuffledArray<T>(NSArray)
GetShuffledArray<T>(NSArray, GKRandomSource)

GetShuffledArray<T>(NSArray)

[Foundation.Export("shuffledArray")]
public static T[] GetShuffledArray<T> (this Foundation.NSArray This) where T : class, ObjCRuntime.INativeObject;
static member GetShuffledArray : Foundation.NSArray -> 'T[] (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

Parameters

This
NSArray

The instance on which this method operates.

Returns

T[]
Attributes

Applies to

GetShuffledArray<T>(NSArray, GKRandomSource)

[Foundation.Export("shuffledArrayWithRandomSource:")]
public static T[] GetShuffledArray<T> (this Foundation.NSArray This, GameplayKit.GKRandomSource randomSource) where T : class, ObjCRuntime.INativeObject;
static member GetShuffledArray : Foundation.NSArray * GameplayKit.GKRandomSource -> 'T[] (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

Parameters

This
NSArray

The instance on which this method operates.

randomSource
GKRandomSource

Returns

T[]
Attributes

Applies to