The power of sets in Swift

Swift provides three primary collection types - Array, Set, and Dictionary. When choosing one to work with, we often default to using Array. In this post, John Sundell shows us why we should consider using Set, providing examples of it’s advantages over the other types.