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

 




Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!


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