case NUMBER:
{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:hack.hackName message:[NSString stringWithFormat:@"Current set %@ value = %f",hack.hackName, [[hack getvalue]floatValue]] delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Set Hack",nil];
[alert setAlertViewStyle:UIAlertViewStylePlainTextInput];
[[alert textFieldAtIndex:0] setKeyboardType:UIKeyboardTypeNumberPad];
[alert show];
[alert release];
}
break;
case BOOLEAN:
{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:hack.hackName message:[NSString stringWithFormat:@"Current set %@ value = %s", hack.hackName, [[hack getvalue]boolValue] ? "Yes" : "No"] delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Yes",@"No",nil];
[alert show];
[alert release];
}
break;
case TEXT:
{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:hack.hackName message:[NSString stringWithFormat:@"Current set %@ value = %@",hack.hackName, [hack getvalue]] delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Set Hack",nil];
[alert setAlertViewStyle:UIAlertViewStylePlainTextInput];
[alert show];
[alert release];
}
break;
default:
break;
There is not such a thing that support memory address. If your not doing MS hacks you need to overwrite the whole IGM source