Instance Method

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

class func defaultValue(forKey: String) -> Any?

Specifies the default value associated with the specified key.