NSMutableCopying
NSMutableCopying is a protocol in Objective-C that allows mutable objects to provide a way to create a shallow copy of themselves. This protocol is part of the Foundation framework. An object that conforms to NSMutableCopying is expected to implement the mutableCopy method. This method returns a new mutable object that is a copy of the original object. The term "shallow copy" means that the new object is a separate instance, but if the original object contains references to other objects, the new object will contain references to the same other objects, not copies of them.
To conform to the NSMutableCopying protocol, a class must declare that it conforms and implement the required
The NSCopying protocol, which is often used in conjunction with NSMutableCopying, provides a way to create