Lets say I just want to NSLog a string - can someone explain the difference between: Code 1:
NSString *testString;
testString = [[NSString alloc] init];
testString = @"Here's a test string in testString!";
NSLog(@"testString: %@", testString);
and Code 2:
NSString *testString = @"Here's a test string in testString!";
NSLog(testString)
Let's assume I am using ARC. Thanks