MutableCopying
public protocol MutableCopying: class, Copying
Protocol for classes that have mutable and immutable types.
Only classes that define an “immutable vs. mutable” distinction should adopt this protocol. Classes that don’t define such a distinction should adopt Copying
instead.
-
Creates a mutable copy of the reciever.
Declaration
Swift
var mutableCopy: MutableType { get }