Working with Generics
Generics are one of the most powerful features of Swift. For example Array and Dictionary types are both generic collections. For arrays it can hold any data types eg. Int, String. Similarly with Dictionary we can store values of any specified data type. Generic Functions A generic function uses placeholder type name called T. T… Read More Working with Generics