protocol
CustomPlaygroundQuickLookable
Inheritance | View Protocol Hierarchy → |
---|---|
Import |
|
Instance Variables
A custom playground Quick Look for this instance.
If this type has value semantics, the PlaygroundQuickLook
instance
should be unaffected by subsequent mutations.
Declaration
var
customPlaygroundQuickLook
:
PlaygroundQuickLook
{
get
}
A type that explicitly supplies its own playground Quick Look.
A Quick Look can be created for an instance of any type by using the
PlaygroundQuickLook(reflecting:)
initializer. If you are not satisfied with the representation supplied for your type by default, you can make it conform to theCustomPlaygroundQuickLookable
protocol and provide a customPlaygroundQuickLook
instance.