Building a Word Cloud in SwiftUI

Sizing and positioning words in a SwiftUI interface

Shen Sheng
Better Programming
Published in
5 min readDec 25, 2021

--

A word cloud (also known as text clouds or tag clouds) is a collection, or cluster, of words depicted in different sizes. It is ideal to pull out the most pertinent parts of textual data.

There are quite a few GitHub repositories that show how to generate word cloud using JavaScript, Python, etc…

--

--