Swift 3: Twitter - Generics and Array Extension (Ep 16)

Profile Picture
- Published on Mar 2, 2017馃審 Public

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. Facebook Group https://www.facebook.com/groups/12406... iOS Basic Training Course https://www.letsbuildthatapp.com/basi... Completed Source Code https://www.letsbuildthatapp.com/cour... Follow me on Twitter: https://twitter.com/buildthatapp