Sets / Set Collections in Swift

Sets / Set Collections in Swift (Episode 31)
May 31, 2016 Justin

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

 




Become part of the CartoonSmart Team with our Affiliate Program

Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!


Uh oh, missing your affiliate ID. Create one real quick