CustomLeafReflectable

protocol CustomLeafReflectable

A type that explicitly supplies its own mirror, but whose descendant classes are not represented in the mirror unless they also override customMirror.

Inheritance CustomReflectable View Protocol Hierarchy →
Import import Swift

Instance Variables

var customMirror: Mirror Required

The custom mirror for this instance.

If this type has value semantics, the mirror should be unaffected by subsequent mutations of the instance.

Declaration

var customMirror: Mirror { get }

Declared In

CustomReflectable