Contents

didChangeValue(forKey:)

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

Declaration

func didChangeValue(forKey key: String)

Parameters

  • key:

    The name of the property that changed.

Discussion

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

You must not override this method.

See Also

Supporting Key-Value Observing