- iOS 12 Programming for Beginners
- Craig Clayton
- 54字
- 2025-02-28 11:21:49
Sets
A set stores unique values of the same type in a collection without a defined order. Let's look at the following diagram:

In the preceding diagram, we have two circles, both of which represent a set. On the left, we have Craig's favorite movies, and on the right, we have Gabe's favorite movies.