Instance Method

symmetricDifference(_:)

Returns a new option set with the elements contained in this set or in the given set, but not in both.

Declaration

func symmetricDifference(_ other: ARView.EntityGestures) -> ARView.EntityGestures

Parameters

other

An option set.

Return Value

A new option set with only the elements contained in either this set or other, but not in both.

See Also

Combining Options

func union(ARView.EntityGestures) -> ARView.EntityGestures

Returns a new option set of the elements contained in this set, in the given set, or in both.

func formUnion(ARView.EntityGestures)

Inserts the elements of another set into this option set.

func intersection(ARView.EntityGestures) -> ARView.EntityGestures

Returns a new option set with only the elements contained in both this set and the given set.

func formIntersection(ARView.EntityGestures)

Removes all elements of this option set that are not also present in the given set.

func formSymmetricDifference(ARView.EntityGestures)

Replaces this set with a new set containing all elements contained in either this set or the given set, but not in both.