"Constant" strings are static or autoreleased?
"Constant" strings are static or autoreleased?
- Subject: "Constant" strings are static or autoreleased?
- From: zauhar <email@hidden>
- Date: Wed, 5 Mar 2003 14:51:36 -0500
- Scubber-version: 1.7 (portal)
In reply to Britt's questions, one of you said that strings created
with the "@" are autoreleased, and David said
>True. Those are static strings created for you when the program
launches. They can never be released or modified.
Which is it? I would think that David's answer is correct.
Randy
Randy J. Zauhar, PhD
Assoc. Prof. of Biochemistry
Director, Graduate Program in Bioinformatics
Dept. of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 S. 43rd Street
Philadelphia, PA 19104
Phone: (215)596-8691
FAX: (215)596-8543
E-mail: email@hidden
Web:
http://tonga.usip.edu/zauhar
Discussion after watching Disney's "Lilo & Stitch":
DAD: "But why did the space aliens speak English, as opposed to French,
or Swahili? And why did the one alien speak English with an Eastern
European accent? I don't get it."
CATHERINE (age 7): "That's 'cause you don't have a good cartoon brain."
_______________________________________________
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.