protocol Printable

A type with a customized textual representation.

This textual representation is used when values are written to an output stream, for example, by print and println.

In order to generate a textual representation for an instance of any type (which might or might not conform to Printable), use toString.

Inheritance View Protocol Hierarchy →
Import import Swift

Instance Variables

var description: String Required

A textual representation of self.


var description: String { get }