Andrew Zheng
1 min readFeb 10, 2020

--

Very nice article! But I think you should replace:

with this:

And add this extension:

This will accurately calculate the height of the String instead of a guesstimate based on the length of it. Anyways, great article, helped me a lot!

--

--

Andrew Zheng
Andrew Zheng

Written by Andrew Zheng

WWDC21 Scholar. I like to read manga and write about Swift. Check out my app, Find — look for text in real life, with outrageous speed. getfind.app

No responses yet