Skip navigation.
 
mlRe: NSString and NSCopying Protocol
FROM : Finlay Dobbie
DATE : Sat Nov 23 23:43:28 2002

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSString and NSCopying Protocol Starman Nov 19, 16:13
mlRe: NSString and NSCopying Protocol Ondra Cada Nov 20, 05:19
mlRe: NSString and NSCopying Protocol Sherm Pendley Nov 20, 05:49
mlRe: NSString and NSCopying Protocol Glenn Howes Nov 20, 07:28
mlRE: NSString and NSCopying Protocol Jonathan E. Jackel Nov 20, 23:28
mlRe: NSString and NSCopying Protocol Finlay Dobbie Nov 23, 23:43