Instance Method

setObservationInfo(_:)

Sets the observation info of the managed object.

Declaration

func setObservationInfo(_ inObservationInfo: UnsafeMutableRawPointer?)

Parameters

value

The new observation info for the receiver.

Discussion

For more about observation information, see Key-Value Observing Programming Guide.

See Also

Supporting Key-Value Observing

func didAccessValue(forKey: String?)

Provides support for key-value observing access notification.

func observationInfo() -> UnsafeMutableRawPointer?

Returns the observation info of the managed object.

func willAccessValue(forKey: String?)

Provides support for key-value observing access notification.

func didChangeValue(forKey: String)

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

func didChangeValue(forKey: String, withSetMutation: NSKeyValueSetMutationKind, using: Set<AnyHashable>)

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

func willChangeValue(forKey: String)

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

func willChangeValue(forKey: String, withSetMutation: NSKeyValueSetMutationKind, using: Set<AnyHashable>)

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