iOS 14 Programming for Beginners - Fifth Edition

iOS 14 Programming for Beginners - Fifth Edition

1
Section 1: Swift
10
Section 2:Design
15
Section 3:Code
24
Section 4:Features

Understanding filters

iOS has a range of built-in filters that you can use to enhance photos. These filters are available via the Core Image library. Core Image is an image processing and analysis technology that provides high-performance processing for still and video images. There are over 170 filters available in Core Image, giving you the ability to apply a wide range of cool effects to your photos.

Important note

You can learn more about Core Image at https://developer.apple.com/documentation/coreimage.

For this app, you'll just be using 10 filters. The details of these filters are provided in a .plist file. Import this file into your app by following these steps:

  1. If you have not yet done so, download and unzip the code bundle for this book at this link: https://github.com/PacktPublishing/iOS-14-Programming-for-Beginner-Fifth-Edition. You will find the FilterData.plist file inside the resources folder in the Chapter20 folder.
  2. In the Project navigator...
Unlock full access

Continue reading with a subscription

Packt gives you instant online access to a library of over 7,500 practical eBooks and videos, constantly updated with the latest in tech

End of Section 3

Your notes and bookmarks