This is a cheat sheet for converting from ReactiveSwift to Combine. The origin of this document is me converting some of my libraries from one to the other, so they're just basic use cases of things I've used. As a result, this sheet by no means exhaustive, but is a good start and includes caveats… Continue reading ReactiveSwift to Combine Cheat Sheet
Month: December 2019
Quick Swift: Generics
Generics are basically placeholders for types. They help you write specific code that can be used with (almost) any type. Suppose you're really tired of the whole if let dance. You want to write a function that will do that for you, so you can save some lines of code. Generics to the rescue! You could… Continue reading Quick Swift: Generics