less than 1 minute read

URLSession is like the bread and butter of many iOS Apps today. Use of it has evolved over time in context of consuming JSON. From leveraging JSONSerialization().jsonObject, to JSONDecoder() / JSONEncoder(), it’s all part of the history in the iOS world.

Apple introduced Combine, a new Framework at WWDC2019.

It can be used in a number of ways including making async network calls, and a few more rich use cases.

I’ve put together an app that demonstrates using Combine to make web calls (JSON consumption).

I go into detail this time, but I have to say Combine very promising!

If you notice, this represents a bit of a code reduction, which I enjoy (and my keyboard will last longer because of said code reductions).

Here’s the xcode project

Happy Coding!

More to come (my promise)