Sets / Set Collections in Swift (Episode 31)
from CartoonSmart Tutorials Hosted by Justin
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 .
Embed this episode
No transcript yet.
Similar podcasts
Frequently asked questions
When was this CartoonSmart Tutorials episode published?
This episode was published on May 31, 2016.
Can I download this CartoonSmart Tutorials episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.