iOS 12 Programming for Beginners
上QQ阅读APP看书,第一时间看更新

Creating an empty set

Before we create these sets, let's create an empty set and see what that looks like:

In this first set, after the equals sign, we create the set and give it a string data type. Then, we use the parentheses to initialize the set.