Instance Method

pointer(at:)

Returns the pointer at a given index.

Declaration

func pointer(at index: Int) -> UnsafeMutableRawPointer?

Parameters

index

The index of an element in the receiver. This value must be less than the count of the receiver.

Return Value

The pointer at index.

Discussion

The returned value may be NULL.

See Also

Managing the Collection

var count: Int

The number of elements in the receiver.

var allObjects: [Any]

All the objects in the receiver.

func addPointer(UnsafeMutableRawPointer?)

Adds a given pointer to the receiver.

func removePointer(at: Int)

Removes the pointer at a given index.

func compact()

Removes NULL values from the receiver.