Define your own layouts — Whenever I use a storyboard or XIB file to create a custom UICollectionViewor UITableView cell layout, I always wonder, wouldn’t it be great if I could use SwiftUI to define the layout? In this year’s WWDC (2022), Apple finally made that happen. In this article, we will explore what it…