Your NSMutableString
creation calls aren't balanced properly. You're promising the compiler that you're creating a NSMutableString
but you ask an NSString
to create an instance.
For example:
NSMutableString *mixed = [NSString stringWithFormat: @"%i %i", numA, numB];
needs to be:
NSMutableString *mixed = [NSMutableString stringWithFormat: @"%i %i", numA, numB];