In this tutorial video, we'll go over step-by-step how to build a UICollectionView in pure code without using Storyboards.
First we'll remove the Main.storyboard file, fix compile and run-time errors. Next we use a subclass of UICollectionViewController as our root view controller. We then implement the necessary UICollectionViewDatasource and Delegate methods to render a few cells. Finally, we set our text in each of those cells from an array of Strings.
If you enjoy, don't forget to subscribe for more content!
Github repo:
[ Ссылка ]
Ещё видео!