• 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
Beginner question about strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beginner question about strings


  • Subject: Beginner question about strings
  • From: "D.K. Johnston" <email@hidden>
  • Date: Sun, 04 Jun 2006 15:41:40 -0700

I'm not sure about the status of strings returned by methods like "substringFromIndex:". I know that they're new strings. But how long do they last? Are they autoreleased? If an object method returns one of these strings to another object, should the string be sent a "retain" message? etc.

dkj


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Beginner question about strings
      • From: Shawn Erickson <email@hidden>
    • Re: Beginner question about strings
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Core Data : Searching using transient attributes as criteria
  • Next by Date: Re: Beginner question about strings
  • Previous by thread: Re: Core Data : Searching using transient attributes as criteria
  • Next by thread: Re: Beginner question about strings
  • Index(es):
    • Date
    • Thread