CFBoolean objects are used to wrap boolean values for use in Core Foundation property lists and collection types.


CFBoolean Miscellaneous Functions

func CFBooleanGetTypeID() -> CFTypeID

Returns the Core Foundation type identifier for the CFBoolean opaque type.

func CFBooleanGetValue(CFBoolean!) -> Bool

Returns the value of a CFBoolean object as a standard C type Boolean.

Data Types

class CFBoolean

A reference to a CFBoolean object.


Boolean Values

CFBoolean evaluates to either true or false values where kCFBooleanTrue is the true, and kCFBooleanFalse is the false value.

See Also

Opaque Types


The CFFileDescriptor provides an opaque type to monitor file descriptors for read and write activity via CFRunLoop.


CFStringTokenizer allows you to tokenize strings into words, sentences or paragraphs in a language-neutral way. It supports languages such as Japanese and Chinese that do not delimit words by spaces, as well as de-compounding German compounds. You can obtain Latin transcription for tokens. It also provides language identification API.