AgapovOne / swift-html-research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swift-html-research

Measurement

1000 runs on Macbook iPhone 13 Simulator from tests target

Screenshot 2022-08-19 at 14 25 05

Decision

#1 - Bonmot

not the fastest, but is

  • maintained
  • allows to configure tags inside tags
  • uses xml parser for all tags

Minus of all libraries is one

  • supports only tags that are defined in code. It is possible to make dynamic styling, but costs dev time.

#2-3-4 Atributika, Ashton, SwiftRichString

Atributika doesn't support tags in tags. <b><i><s>text</s></i></b> would become only strikethrough

Ashton doesn't seem to be configurable in terms of styling (or I don't see it :))

SwiftRichString last release is 2020

About


Languages

Language:Swift 100.0%