Contents

init(text:color:)

Creates a shield label with the provided text and color.

Declaration

init(text: String, color: UIColor)

Parameters

  • text:

    The text to display in the label.

  • color:

    The color for the text in the label.