shouldArchiveValue(forKey:)
Returns a Boolean value indicating whether the value for a given key should be archived.
Declaration
func shouldArchiveValue(forKey key: String) -> BoolParameters
- key:
The name of one of the receiver’s properties.
Return Value
true if the specified property should be archived, otherwise false.
Discussion
The default implementation returns true. This method is called by the object’s implementation of encodeWithCoder:.