Hatena::Groupiphone-dev

func09の日記

2008-12-04

release

20:04


NSString *moji1 = @"hoge";
[moji1 release] // => OK

NSString *moji2 = [NSString stringWithFormat:@"%@", @"hoge"];
[moji2 release] // => NG

NSString *moji3 = [[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] stringByAppendingPathComponent:@"hoge.jpg"];
[moji3 release] // => NG