Skip to content

HeapObject

tevelee edited this page Jul 21, 2026 · 1 revision

HeapObject

Some object whose value is being stored on the heap and is being reference counted by the Swift runtime.

public struct HeapObject 

ABI Stability: Stable since the following

| macOS | iOS/tvOS | watchOS | Linux | Windows |
|-------|----------|---------|-------|---------|
| 10.14 | 12.2     | 5.2     | NA    | NA      |

Properties

type

The type being stored in this heap object.

public let type: Any.Type

metadata

The metadata for the type being stored in this heap object.

public var metadata: Metadata 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally