i'm an absolute newbie with objective-c
with this code
NSMutableString *teststring; [teststring appendString:@"hey"]; NSLog(teststring);
nothing gets displayed in the console.
Surely i'm doing something wrong here... :-)
You need to create the string first.
NSMutableString *teststring = [[NSMutableString alloc]init]; [teststring appendString:@"hey"]; NSLog(teststring);
Now, it will print.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With