In this post, we will bring a UIKit based view into SwiftUI to display attributed strings. We will see how to make our view automatically adjust its height to the text contents and react to SwiftUI environment changes. Although you can combine different Text views to display formatted text in SwiftUI, there are still some things that we can only do by using attributed strings: links, paragraph sty
![Rendering Attributed Strings in SwiftUI](https://cdn-ak-scissors.b.st-hatena.com/image/square/51a4370afcc96457c188627ce72a7413b9d1553f/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2Axm6ZdaYIOW8rjiSZWBnPcg.jpeg)