paint-brush
How to Create UILabel With HTML Tags in UIKit and SwiftUIby@maxkalik
2,594 reads
2,594 reads

How to Create UILabel With HTML Tags in UIKit and SwiftUI

by Max Kalik9mAugust 14th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

UIKit and SwiftUI are creating a UILabel that handles basic HTML tags. It must work in both frameworks: UIKit or SwiftUI in the same way. Link attributes should have normal and active states: normal, active, and disabled. All links should be configurable with colors for several states: normal***, active***, and***visited***. In the mobile world, there is a bit of a different vision, so we are going to have 3 states:***normal*** ,***active*** and***inactive***.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Create UILabel With HTML Tags in UIKit and SwiftUI
Max Kalik HackerNoon profile picture
Max Kalik

Max Kalik

@maxkalik

Senior iOS Engineer at Triumph Labs. Launched WordDeposit and SimpleRuler Apps. Tech writer and public speaker.

About @maxkalik
LEARN MORE ABOUT @MAXKALIK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Max Kalik HackerNoon profile picture
Max Kalik@maxkalik
Senior iOS Engineer at Triumph Labs. Launched WordDeposit and SimpleRuler Apps. Tech writer and public speaker.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite