Collection Type, Sequence Type & Indexable Type

This is for Swift Version 2.2 & earlier. I will be adding the snippet of code for the changes the Swift 3.x have introduced. What are the Collection Type & Sequence Type Protocols? The Collection Type, Sequence Type & Generator Type Protocols define rules that govern how different data structures or collections of data can be used, … Continue reading Collection Type, Sequence Type & Indexable Type