Back to Browse

iOS Dev 11: CollectionViews | Swift 5, XCode 11

41.2K views
Jul 7, 2020
15:50

In this lesson, we learn how to configure a UICollectionView. First, we add a UICollectionView to the ViewController in our Main.storyboard and connect it to our ViewController class. Next, we conform to the UICollectionViewDataSource protocol and implement two methods to specify the number of items in each section, and configure the cell for the item at index path. Afterwards, we learn how to create and set up a custom CollectionViewCell and add width and height. Finally, we learn how to handle Row Tap by conforming to the UICollectionViewDelegate protocol. Say Hi on Social Media: Project Link: https://github.com/EMacco/ios-tutorials/tree/CollectionViews-Complete LinkedIn: https://www.linkedin.com/in/emacco/ Twitter: https://twitter.com/Its_Macco If you feel like buying me a coffee :) https://www.buymeacoffee.com/emmanuelokwara

Download

0 formats

No download links available.

iOS Dev 11: CollectionViews | Swift 5, XCode 11 | NatokHD