Enabling the NSCopying protocol in a class
-
21-09-2019 - |
Question
I have a class that has been derived from NSObject. How can copy be enabled like [object copy]?
This is for an iPhone application.
Solution
Apple's documentation on the NSCopying protocol can be found here.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow