CFNull

Overview

The CFNull opaque type defines a unique object used to represent null values in collection objects (which don’t allow NULL values). CFNull objects are neither created nor destroyed. Instead, a single CFNull constant object—kCFNull—is defined and is used wherever a null value is needed.

The CFNull opaque type is available in macOS 10.2 and later.

Symbols

CFNull Miscellaneous Functions

func CFNullGetTypeID()

Returns the type identifier for the CFNull opaque type.

Data Types

CFNull

A reference to a CFNull object.

Constants

Predefined Value

Predefined CFNull object.