Enumeration

NSKeyValueSetMutationKind

The kinds of mutation that you can make to an unordered collection.

Declaration

enum NSKeyValueSetMutationKind : UInt

Overview

These constants are specified as the mutationKind parameter to the methods willChangeValue(forKey:withSetMutation:using:) and didChangeValue(forKey:withSetMutation:using:). Their semantics correspond exactly to the NSMutableSet class methods union(_:), minus(_:), intersect(_:), and the instance method setSet(_:).

Topics

Constants

case union

Indicates that observers in the specified set are being added to the observed object.

case minus

Indicates that the observers in the specified set are being removed from the observed object.

case intersect

Indicates that the observers not in the specified set are being removed from the observed object.

case set

Indicates that a set of observers are replacing the existing objects in the observed object.