retaincount
Why does sending retainCount to @"Hi" return -1?
The method retainCount is supposed to return an unsigned integer. Why then, does [@\"Hi开发者_开发问答\" retainCount] return -1?The simple answer is that because @\"Hi\" is a string literal, it will[详细]
2022-12-15 10:47 分类:问答