- iOS 12 Programming for Beginners
- Craig Clayton
- 48字
- 2021-07-02 15:05:04
Creating an empty set
Before we create these sets, let's create an empty set and see what that looks like:
![](https://epubservercos.yuewen.com/2E52D1/19470383901517806/epubprivate/OEBPS/Images/f941b1e9-cfde-4a71-825b-227e9daa9064.png?sign=1739123962-RbmZWkSr1PZuz0V8Vfoltn0kbkOF4T8z-0-62eb979b847fbba4e9a02e665447cc6a)
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.