-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
iOS 14 Programming for Beginners - Fifth Edition
By :
So far, you have imported FilterData.plist into your app, created the FilterItem and FilterDataManager classes, and created the ImageFiltering protocol. In this section, you’ll set up the classes for the Photo Filter screen, which allows you to manage this screen and the collection view inside it.
Remember that you added the PhotoFilter storyboard file to your project in Chapter 17, Getting Started with Mapkit. It contains a scene that consists of a large image view that will hold the user selected photo and a collection view that will display filter previews. The following screenshot shows what this will look like when you have completed the implementation:

Figure 21.2: iOS simulator showing the completed Photo Filter screen
This screen works as follows. When you tap on the Add Photo button in the Restaurant Detail screen and select a photo, the Photo Filter screen will appear, showing the selected photo with a...