The Photo Filter screen provides the user interface that allows the user to select a filter to be applied to a photo. The filters will be displayed in a collection view. If you click PhotoFilter.storyboard in the Project navigator, you will see that the collection view is already present in the View Controller Scene, but there is no way to set the contents of the collection view cells. You will need to create a view controller for the collection view cells. To do so, follow these steps:
- Right-click the PhotoFilter folder and select New File.
- iOS should already be selected. Choose Cocoa Touch Class and click Next.
- Configure the file, as follows:
- Class: FilterCell
- Subclass: UICollectionViewCell ...