This Swift video tutorial we'll talk about creating Set collection variables. Sets are similar to arrays, but are unordered collections. You can check if a set contains an element using the .contains property. You can add or remove to a Set using .insert and .remove . You iterate through a set collection using a for loop. You can also compare collections using .isSubsetOf , .isSupersetOf , .isDisjointWith .

Sets / Set Collections in Swift (CartoonSmart Video Tutorial Podcast 31)




Watch Fullscreen

This Swift video tutorial we’ll talk about creating Set collection variables. Sets are similar to arrays, but are unordered collections. You can check if a set contains an element using the .contains property. You can add or remove to a Set using .insert and .remove . You iterate through a set collection using a for loop. You can also compare collections using .isSubsetOf , .isSupersetOf , .isDisjointWith .


Hosts: Justin Dike, Clevon O’Doul


 


Subscribe to this Podcast on iTunes