Filter, Transform, and Simplify

When an Observable sequence emits a next event, you will typically want to work with that element, such as transforming it in some way or the other. For example, consider that the element is a date instance, and you want to format it as a String representation before displaying it in a UILabel. In this chapter, we will start with operators that will enable you to perform tasks similar to the one mentioned in the example that we covered in the previous chapter. In this chapter, you will learn the following:

  • Working with transform operators
  • Working with marble diagrams to see the operator in action
  • Knowing how to filter events using the Filter operator
  • Simplifying the traditional coding practices by making use ...

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.