Initializer

init(text:)

Returns a simple-text print formatter initialized with plain text.

Declaration

init(text: String)

Parameters

text

A string of plain text or nil if you intend to assign the text later.

Return Value

An initialized instance of UISimpleTextPrintFormatter or nil if the object could not be created.

See Also

Creating a Simple-Text Print Formatter

init(attributedText: NSAttributedString)

Returns a simple-text print formatter initialized with attributed text.