Re: NSString and NSCopying Protocol
Re: NSString and NSCopying Protocol
- Subject: Re: NSString and NSCopying Protocol
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 23 Nov 2002 22:43:28 +0000
On Tuesday, November 19, 2002, at 03:13 PM, Starman wrote:
Theorically, the documentation of the protocol says : "The exact
meaning of \"copy\" can vary from class to class, but a copy must be a
functionally independent object with values identical to the original
at the time the copy was made."
As others have pointed out, this is acceptable behaviour, but in case
you were wondering you can create a REAL copy of a string using
initWithString (or stringWithString).
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.