Hi, I am using Objective-C and I am trying to set an equation that is stored in an NSString to be evaluated and stored in an NSInteger.
something similar to the following:
equation = [[NSString alloc] initWithString:@"1+5*6"];
and then evaluate that to become 31 and store it into an NSInteger. any ideas how to do this?