Instance Property

count

The number of elements in the receiver.

Declaration

var count: Int { get set }

Discussion

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.