i\'m an absolute newbie with objective-c
with this code
NSMutableString *teststring;
[teststring appendString:@\"hey\"];
NSLog(teststring);
>
Sample:
NSMutableString *buffer = [[NSMutableString alloc] init]; // retain count = 1. Because of the "alloc", you have to call a release later
[buffer appendString:@"abc"];
NSLog(@"1 : %@", buffer);
[buffer appendString:@"def"];
NSLog(@"2 : %@", buffer);
[buffer release]; // retain count = 0 => delete object from memory