I'm having a problem trying to convert a character into a string in Xcode. Here's my code...
NSString *temp = [NSString stringWithFormat:@"%@ %@ %@ = %@", inputOne.text, sign.text, inputTwo.text, answer.text];
self.sign.text
is supposed to return either a "+", "-", "*", or "/", which it does. However, I'm trying to have the user post one of these back into facebook via the app. All but the "+" sign will load as a string when they post it to their wall. I don't understand how to get the "+" to show.
I'm guessing that this gets lost since the "+" has a different meaning in javascript. How can I make it a string character in my NSString
so that it accepts when posting. Hope this made sense.