• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString and NSCopying Protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSString and NSCopying Protocol (From: Starman <email@hidden>)

  • Prev by Date: [ANN] Vermont Recipes project files up
  • Next by Date: RE: multiple componentsSeparatedByString
  • Previous by thread: RE: NSString and NSCopying Protocol
  • Next by thread: No launchable executable present?
  • Index(es):
    • Date
    • Thread