This is my attempt to create a mock-up of the iOS' App Store using the latest UICollectionViewCompositionalLayout
and UICollectionViewDiffableDataSource
which were introduced as part of iOS 13.0 SDK.
I found a YouTube video by Paul Hudson of HackingWithSwift where he showed how to create the replica of App Store home page using these new iOS features.
This is my attempt to do it on my own after going through the video.
Here I have only used the images from that project and re-created the rest by myself. One improvement that I did, was to add separator lines for a section of the layout. Have highlighted that in one of the screenshots below. This wasn't particularly straightforward and required careful use of supplementary items.
Also part of this project is the use of Decodable
protocol to parse json data into struct objects.
Home screen | Separators added |
---|---|