Initializer

init(attributedText:)

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

Declaration

init(attributedText: NSAttributedString)

Parameters

attributedText

A string of attributed 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(text: String)

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