Contents

CustomReflectable

A type that explicitly supplies its own mirror.

Declaration

protocol CustomReflectable

Overview

You can create a mirror for any type using the Mirror(reflecting:) initializer, but if you are not satisfied with the mirror supplied for your type by default, you can make it conform to CustomReflectable and return a custom Mirror instance.

Topics

Instance Properties

See Also

Customizing Your Type’s Reflection