Use NSCopy() to Duplicate Objects in Swift
That is copy, not reference
3 min readJun 12, 2020
Copying objects (reference types) is quite often challenging. How are you supposed to make sure they copy properly if you are using Boxing?
Enter NSCopy()
Difficulty: Beginner | Easy | Normal | Challenging