Returns a new set with the elements that are either in this set or in the given set, but not in both.
Required. Default implementation provided.
Swift Standard Library
A set of the same type as the current set.
A new set.
In the following example, the eitherNeighborsOrEmployees set is made up of the elements of the employees and neighbors sets that are not in both employeesandneighbors. In particular, the names "Bethany" and "Eric" do not appear in eitherNeighborsOrEmployees.