CustomDump Documentation

Structures

Diff​Format

Describes how to format a difference between two values when using diff(_:_:format:).

Protocols

Custom​Dump​Reflectable

A type that explicitly supplies its own mirror for customDump(_:to:name:indent:maxDepth:) and diff(_:_:format:).

Custom​Dump​Representable

A type that can be converted to a value for the purpose of dumping.

Custom​Dump​String​Convertible

A type with a customized textual representation for customDump(_:to:name:indent:maxDepth:) and diff(_:_:format:).

Functions

diff(_:​_:​format:​)

Detects differences between two given values by comparing their mirrors and optionally returns a formatted string describing it.

custom​Dump(_:​name:​indent:​max​Depth:​)

Dumps the given value's contents using its mirror to standard output.

custom​Dump(_:​to:​name:​indent:​max​Depth:​)

Dumps the given value's contents using its mirror to the specified output stream.

XCTAssert​NoDifference(_:​_:​_:​file:​line:​)

Asserts that two values have no difference.

Extensions

Calendar
Character
Data
Date
Decimal
Locale
NSAttributedString
NSCalendar
NSData
NSDate
NSError
NSExceptionName
NSIndexPath
NSIndexSet
NSLocale
NSMeasurement
NSNotification
NSOrderedSet
NSPredicate
NSRange
NSString
NSTimeZone
NSURL
NSURLComponents
NSURLQueryItem
NSURLRequest
NSUUID
NSValue
ObjectIdentifier
StaticString
TimeZone
URL
URLRequest.NetworkServiceType
UUID
UnicodeScalar