Beginning RxSwift - Part 17: Filtering and | Ray Wenderlich Videos

Improve the Combinstagram app with filtering operators, and learn how to enable multiple subscribers to consume the elements from a single observable.

This is a companion discussion topic for the original entry at

This video can not be played back. I’ve waited more than 10 minutes, but I’m still buffering. Please check.

Hi @yoshiboarder it loads fine for me. Maybe try resetting your browser or try a different one?

@scotteg I don’t understand where to use share operator and where not to use. Because in this case as well if I am not using the share operator then also I am getting the same result.

@scotteg Can you please help with this when you get a chance? Thank you - much appreciated! :]

Hi, ‘UIImageJPEGRepresentation’ has been replaced in RxSwift 5.x. Instead of that I used:

.filter({ [weak self] newImage -> Bool in
                let len = newImage.pngData()?.count ?? 0
                guard self?.imageCache.contains(len) == false else {
                    return false
                return true

@rastislv Thank you for your solution - much appreciated!