int x = [my1 intValue]; int y = [my2 intValue]; int sum = x+y; //myT = [NSString stringWithFormat:@"%d", sum]; myT = [[NSNumber numberWithInt:sum] stringValue]; if(myT==@"10" || myT==@"11" || myT==@"12") action = @"numGreaterThanNine";
int x = [my1 intValue]; int y = [my2 intValue]; int sum = x+y; //myT = [NSString stringWithFormat:@"%d", sum]; myT = [[NSNumber numberWithInt:sum] stringValue]; if(myT==@"10" || myT==@"11" || myT==@"12") action = @"numGreaterThanNine";