OptionalCopying
public protocol OptionalCopying
A protocol that objects adopt to provide functional copies of themselves.
-
copy()
Default implementationUndocumented
Default Implementation
Returns a copy of the source object.
Declaration
Swift
func copy() -> Any?