Contents

shouldArchiveValue(forKey:)

Returns a Boolean indicating whether the value of the specified key should be archived.

Declaration

func shouldArchiveValue(forKey key: String) -> Bool

Parameters

  • key:

    The name of one of the receiver’s properties.

Return Value

true if the specified property should be archived or false if it should not.

Discussion

The default implementation returns true.

See Also

Key-value coding extensions