How to Create UILabel With HTML Tags in UIKit and SwiftUIby@maxkalik
1,923 reads

How to Create UILabel With HTML Tags in UIKit and SwiftUI

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@maxkalik

Max Kalik


Receive Stories from @maxkalik

react to story with heart
Max Kalik HackerNoon profile picture
by Max Kalik @maxkalik.Senior iOS Engineer at Triumph Labs. Launched WordDeposit and SimpleRuler Apps. Tech writer and public speaker.
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa