Filter in Swift — Best Practices
Learn to take the best from the filter function in Swift
Very often, in modern apps, there is the need to manipulate a collection extracting values according to the user inputs. If your app is backed by server services, probably the server itself will send back a filtered list but, sometimes, you will need to filter on app.