An enumeration of the type of text element.


enum ElementType : Int


Types of Text Elements

case body

An enumeration to denote body text.

case title

An enumeration to denote title text in the header view.

case subtitle

An enumeration to denote subtitle text in the header view.

See Also

Describing a Text Element

var text: String

The raw unformatted string for the text element.

var attributedText: NSAttributedString?

The stylized attributed string for the text element as presented to the user in Photos.

var textElementType: PHProjectTextElement.ElementType

The enumerated type of the text element.