Shortcut for ".compactMap { $0 }" in Combine (Swift)
I have this pet peeve where I don’t like to type out .compactMap { $0 } every time I want to remove nils from a publisher. Today I finally took some time to find a good alternative & I really like how ...
Read more