Instance Property


The number of elements in the receiver.


var count: Int { get set }


If you increase the count, NULL values are added. If you decrease the count, elements at indexes count and greater are removed.

See Also

Managing the Collection

var allObjects: [Any]

All the objects in the receiver.

func pointer(at: Int) -> UnsafeMutableRawPointer?

Returns the pointer at a given index.

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.