Removes the given element and all elements subsumed by it.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
- Xcode 11.0+
- Core Media
The element of the set to remove.
The intersection of
[member] and the set, if the intersection was nonempty; otherwise,
In the following example, the
.priority shipping option is removed from the
options option set. Attempting to remove the same shipping option a second time results in
options no longer contains
.priority as a member.
In the next example, the
.express element is passed to
.express is not a member of
.express subsumes the remaining
.second element of the option set. Therefore,
options is emptied and the intersection between
options is returned.