• 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
substring return a new string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

substring return a new string?


  • Subject: substring return a new string?
  • From: Francisco Tolmasky <email@hidden>
  • Date: Wed, 17 Mar 2004 22:41:22 -0800

When I have a textview, and call [[textview string] substringWithRange: someRange], if I want to save that string, do I need to send it the copy: message, or am I ok with just retaining it (given that the string in the textview will be edited).

Thanks in advance,

Francisco Tolmasky
email@hidden
http://www-scf.usc.edu/~tolmasky/
_______________________________________________
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.


  • Follow-Ups:
    • Re: substring return a new string?
      • From: Ondra Cada <email@hidden>
    • Re: substring return a new string?
      • From: j o a r <email@hidden>
  • Prev by Date: Ref counting/garbage collection in a obj-c/java bridge
  • Next by Date: Custom field editor to emulate LocationTextField (as in Safari) ?
  • Previous by thread: Ref counting/garbage collection in a obj-c/java bridge
  • Next by thread: Re: substring return a new string?
  • Index(es):
    • Date
    • Thread