_MirrorType

The type returned by _reflect(x); supplies an API for runtime reflection on x.

Import
  • import Swift

Instance Variables

var count: Int Required

The count of value's logical children.

Declaration

  • var count: Int { get }
var disposition: _MirrorDisposition Required

How value should be presented in an IDE.

Declaration

  • var disposition: _MirrorDisposition { get }
var objectIdentifier: ObjectIdentifier? Required

A unique identifier for value if it is a class instance; nil otherwise.

Declaration

var quickLookObject: PlaygroundQuickLook? Required

A rich representation of value for an IDE, or nil if none is supplied.

Declaration

var summary: String Required

A string description of value.

Declaration

var value: Any Required

The instance being reflected.

Declaration

  • var value: Any { get }
var valueType: Any.Type Required

Identical to value.dynamicType.

Declaration

  • var valueType: Any.Type { get }

Subscripts

subscript(_: Int) Required

Declaration