UICollectionViewFlowLayout
UICollectionView is a fundamental framework class in Apple's UIKit framework for iOS, iPadOS, and tvOS. It provides a flexible and powerful way to display collections of data in a visually appealing and organized manner. Unlike UITableView which is designed for linear lists of data, UICollectionView allows for more complex and customizable layouts, enabling the presentation of items in grids, staggered arrangements, or any other arbitrary arrangement defined by a layout object.
At its core, UICollectionView manages the display of a collection of data items. It works in conjunction
The key to UICollectionView's flexibility lies in its layout system. Developers can use pre-defined layout classes