Enumeration

Mirror.AncestorRepresentation

Representation of ancestor classes.

Overview

A CustomReflectable class can control how its mirror will represent ancestor classes by initializing the mirror with a AncestorRepresentation. This setting has no effect on mirrors reflecting value type instances.

Topics

Enumeration Cases

case customized(())

Use the nearest ancestor’s implementation of customMirror to create a mirror for that ancestor. Other classes derived from such an ancestor are given a default mirror.

case generated

Generate a default mirror for all ancestor classes.

case suppressed

Suppress the representation of all ancestor classes. The resulting Mirror’s superclassMirror is nil.