Skip to content

ClassMetadata_Flags

tevelee edited this page Jul 25, 2026 · 2 revisions

ClassMetadata.Flags

The flags that describe some class metadata.

public struct Flags 

Properties

bits

Flags as represented in bits.

public let bits: UInt32

isSwiftPreStableABI

Whether this class uses pre Swift 5.0 ABI.

public var isSwiftPreStableABI: Bool 

usesSwiftRefCounting

Whether this class uses Swift's native reference counting mechanism.

public var usesSwiftRefCounting: Bool 

hasCustomObjCName

Whether this class has a custom Objective-C name.

public var hasCustomObjCName: Bool 

isStaticSpecialization

Whether this metadata is a generic specialization created during compilation.

public var isStaticSpecialization: Bool 

isCanonicalStaticSpecialization

Whether this compiled generic specialization was made canonical by its metadata accessor.

public var isCanonicalStaticSpecialization: Bool 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally