Instance Method

didChangeValueForKey:withSetMutation:usingObjects:

Provides an opportunity to respond when a change was made to a specified to-many relationship.

Declaration

- (void)didChangeValueForKey:(NSString *)inKey withSetMutation:(NSKeyValueSetMutationKind)inMutationKind usingObjects:(NSSet *)inObjects;

Parameters

inKey

The name of a property that is a to-many relationship.

inMutationKind

The type of change that was made.

inObjects

The objects that were involved in the change (see NSKeyValueSetMutationKind).

Discussion

For more details, see Key-Value Observing Programming Guide.

You must not override this method.

See Also

Supporting Key-Value Observing

+ automaticallyNotifiesObserversForKey:

Returns a Boolean value that indicates whether the receiver provides automatic support for key-value observing change notifications for the given key.

- didAccessValueForKey:

Provides support for key-value observing access notification.

- observationInfo

Returns the observation info of the managed object.

- setObservationInfo:

Sets the observation info of the managed object.

- willAccessValueForKey:

Provides support for key-value observing access notification.

- didChangeValueForKey:

Provides an opportunity to respond when a value of a given property has changed.

- willChangeValueForKey:

Provides an opportunity to respond when a value of a given property is about to change.

- willChangeValueForKey:withSetMutation:usingObjects:

Provides an opportunity to respond when a change is about to be made to a specified to-many relationship.