On 22 Apr 2009, at 02:15, Andrew Farmer wrote:
On 21 Apr 09, at 17:53, Wayne Shao wrote:
Let's say that I have a member variable NSString* logFilePath, I
do init
in the initWith method as
logFilePath = [[some_other_path
stringByAppendingPathComponent:@"log.txt"]
copy];
The ques
On 21 Apr 09, at 17:53, Wayne Shao wrote:
Let's say that I have a member variable NSString* logFilePath, I
do init
in the initWith method as
logFilePath = [[some_other_path
stringByAppendingPathComponent:@"log.txt"]
copy];
The question is, if I do not call copy, is it true that l
Let's say that I have a member variable NSString* logFilePath, I do init
in the initWith method as
logFilePath = [[some_other_path stringByAppendingPathComponent:@"log.txt"]
copy];
The question is, if I do not call copy, is it true that logFilePath could be
subject to be GC'ed?
Anothe