Instance Method

formSymmetricDifference(_:)

Sets the value to an exclusive or of the CharacterSet with another CharacterSet.

Declaration

mutating func formSymmetricDifference(_ other: CharacterSet)

Relationships

From Protocol

See Also

Combining Character Sets

func formIntersection(CharacterSet)

Sets the value to an intersection of the CharacterSet with another CharacterSet.

func formUnion(CharacterSet)

Sets the value to a union of the CharacterSet with another CharacterSet.

func hasMember(inPlane: UInt8) -> Bool

Returns true if the CharacterSet has a member in the specified plane.

func insert(charactersIn: String)

Insert the values from the specified string into the CharacterSet.

func intersection(CharacterSet) -> CharacterSet

Returns an intersection of the CharacterSet with another CharacterSet.

func invert()

Invert the contents of the CharacterSet.

func isDisjoint(with: CharacterSet) -> Bool

Returns a Boolean value that indicates whether the set has no members in common with the given set.

func isStrictSubset(of: CharacterSet) -> Bool

Returns a Boolean value that indicates whether this set is a strict subset of the given set.

func isStrictSuperset(of: CharacterSet) -> Bool

Returns a Boolean value that indicates whether this set is a strict superset of the given set.

func isSubset(of: CharacterSet) -> Bool

Returns a Boolean value that indicates whether the set is a subset of another set.

func isSuperset(of: CharacterSet) -> Bool

Returns true if self is a superset of other.

func remove(charactersIn: String)

Remove the values from the specified string from the CharacterSet.

func subtracting(CharacterSet) -> CharacterSet

Returns a CharacterSet created by removing elements in other from self.

func symmetricDifference(CharacterSet) -> CharacterSet

Returns an exclusive or of the CharacterSet with another CharacterSet.

func union(CharacterSet) -> CharacterSet

Returns a union of the CharacterSet with another CharacterSet.