How to refresh `UIView`
Let's say you have a UIView, and you want to update what it looks like after fetching some data.
So you're after the equivalent of tableView.reloadData(), but for a UIView.
A search on Stack Overflow suggests that you can use yourView.setNeedsLayout(...
coderlyn.hashnode.dev1 min read