Sorry guys, I'm a noob. I know that some languages support type casting, but when I tried to do that here it failed, miserably. I've got an UITextField with number only pad, so I'm only getting numbers, and I need the output from that in my int, diff. Here's what I tried:
NSString *outputNumber = [NSString stringWithFormat:@"%d", [textBox.text]];
diff = [outputNumber intValue]; //Not so much
What happens is my diff goes to some incredibly high number instead of the single digets I tested with. Any help I could get is great. Thanks :)