Lakshmie
Lakshmie

Reputation: 331

Enabling the NSCopying protocol in a class

I have a class that has been derived from NSObject. How can copy be enabled like [object copy]?

This is for an iPhone application.

Upvotes: 4

Views: 1333

Answers (1)

Azeem.Butt
Azeem.Butt

Reputation: 5861

Apple's documentation on the NSCopying protocol can be found here.

Upvotes: 9

Related Questions