UICollectionView

In this tutorial, you will learn how to load a list of images from a remote server URL in Swift. Also, you will learn about UICollectionView, background thread, and more. By the end of this tutorial, you will have a working Swift code example that you can use in your mobile application. Step 1: Create…

Read More UICollectionView. Load List of Images From Remote Server Url

In this tutorial, you will learn how to create a UICollectionView programmatically in Swift, set its layout, item size, background color, and item background color, and implement the didSelectItemAtIndexPath delegate method to handle user taps on items. This tutorial is designed for beginners, so I’ll break down each step into simple, understandable parts. Step 1: Conform to…

Read More Create UICollectionView in Swift Programmatically

In this tutorial, you will learn how to create a UICollectionView programmatically in Swift. You will learn how to create a new UICollectionView with UICollectionViewFlowLayout and will learn how to make it display a few cells. You will also learn how to make your UIViewController conform to a UICollectionViewDelagate to handle events when user taps on…

Read More Create UICollectionView Programmatically in Swift