I thought constant strings and immutable strings were the same but after looking at Program 17.2 I am questioning myself.
If I create a string in the following ways what is the difference if any?
NSString *myString1 = @"This is my string";
NSString *myString2 = [NSString stringWithString: @"This is also my string"];
Further more the note on page 411 says the system is clever and realizes the immutable string object is being initialized by a constant string object. What other objects can an immutable string be initialized with?
Thanks,
Jon