Where are constant NSStrings allocated?

Posted by Andrew Toulouse on Stack Overflow See other posts from Stack Overflow or by Andrew Toulouse
Published on 2010-05-04T19:38:46Z Indexed on 2010/05/04 19:48 UTC
Read the original article Hit count: 131

I understand that constant CStrings are allocated statically, rather than on the heap.

I also noticed that constant NSStrings have an infinite retain count. Does it hold true that constant NSStrings are also allocated statically, rather than on the heap?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about foundation