オブジェクトのメモリアドレスを取得
-(double)getMemAddressDouble:(id)n{
    NSString*s=[NSString stringWithFormat:@"%p",n];
    NSScanner*scan=[NSScanner scannerWithString:s];
    double d;
    [scan scanHexDouble:&d];
    return d;
}
double touchmem=[self getMemAddressDouble:[[touches allObjects] objectAtIndex:0]];