Paragraph - admiral-team/admiralui-ios GitHub Wiki

Class

A group of text components exists in several variants.


Declaration

public class Paragraph: UIView, AnyAppThemable

Overview

A group of text components exists in several variants. You have the option to set the paragraph image of using paragraphType property. To change the style of a paragraph, you can use public property of paragraphStyle.

Configure a Paragraph with check image:

 let pointParagraph = Paragraph()
 pointParagraph.title = "Title"
 pointParagraph.textAligment = .leading
 pointParagraph.paragraphType = .check

Configure a ParagraphView with leading alignment and point image:

 let pointParagraph = Paragraph()
 pointParagraph.title = "Title"
 pointParagraph.textAligment = .leading
 pointParagraph.paragraphType = .point

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.