shouldArchiveValue(forKey:)
Specifies whether the value of the property for a given key is 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
Called by the object’s implementation of encodeWithCoder:. The object must implement keyed archiving.
The default implementation returns true.
See Also
Related Documentation
- Core Animation Programming Guide