Filtering operators

Filtering operators can be divided into separate categories depending on the type of filtering they provide. For instance, operators that ignore certain events, operators that skip events based on certain criteria, or the opposite of skipping, operators that allow you to take elements. Then come operators that allow us to work with distinct elements. In this section, we will cover some operators from these categories; we will cover those operators you will work with most often while working with RxSwift. In order to explore other filtering operators, feel free to check the RxSwift library. Let's start with our very first filtering operator, which is the filter operator.

Get Reactive Programming with Swift 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.