Now that we are familiar with the way sets are created, let's create a mutable set for Craig's favorite movies and one for Gabe's favorite movies. Add the following to Playgrounds:
var craigsFavMovieSet = Set<String>([]) var gabesFavMovieSet = Set<String>(["Fight Club", "Matrix", "Evil Dead", "Big Trouble in Little China", "Aliens", "Winter Solider", "The Illusionist", "Predator"])
Be aware that if you copy and past this code into Xcode, you might see a number of errors due to line breaks and book formatting.
Now, your code should look like this:
We now have two mutable sets. The first set is created with an empty array literal, and the second set is created with some initial values. Let's add some more items to both sets.