Today's topic will be more advanced than usual and we'll deal with how to refactor our JSON parsing code. The goal of this video is to expose a couple of interesting features of Swift that you might not have seen before.
We'll first go over extending Arrays or Collections to have methods. Finally I'll walk through how to use Generics so that Swift will know exactly what type of objects are being decoded.
Enjoy.