편집

다음을 통해 공유


GKRandomSource.ShuffleObjects(NSObject[]) Method

Definition

Returns a new array with the same contents as the input array, but randomly shuffled.

[Foundation.Export("arrayByShufflingObjectsInArray:")]
public virtual Foundation.NSObject[] ShuffleObjects (Foundation.NSObject[] array);
abstract member ShuffleObjects : Foundation.NSObject[] -> Foundation.NSObject[]
override this.ShuffleObjects : Foundation.NSObject[] -> Foundation.NSObject[]

Parameters

array
NSObject[]

Returns

Attributes

Applies to