Enumeration

NSKeyValueSetMutationKind

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

Declaration

typedef enum NSKeyValueSetMutationKind : NSUInteger {
    ...
} NSKeyValueSetMutationKind;

Overview

These constants are specified as the mutationKind parameter to the methods willChangeValueForKey:withSetMutation:usingObjects: and didChangeValueForKey:withSetMutation:usingObjects:. Their semantics correspond exactly to the NSMutableSet class methods unionSet:, minusSet:, intersectSet:, and the instance method setSet:.

Topics

Constants

NSKeyValueUnionSetMutation

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

NSKeyValueMinusSetMutation

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

NSKeyValueIntersectSetMutation

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

NSKeyValueSetSetMutation

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