Instance Property


Returns the value as an untyped pointer.


var pointerValue: UnsafeMutableRawPointer? { get }

Return Value

The value as a pointer to void. If the value object was not created to hold a pointer-sized data item, the result is undefined.

See Also

Working with Pointer and Object Values

init(pointer: UnsafeRawPointer?)

Creates a value object containing the specified pointer.

init(nonretainedObject: Any?)

Creates a value object containing the specified object.

var nonretainedObjectValue: Any?

The value as a non-retained pointer to an object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software