//转换为NSValue
NSValue *value = [NSValue valueWithBytes:&locCoord objCType:@encode(CLLocationCoordinate2D)];
//转换回结构体
CLLocationCoordinate2D coord;[value getValue:&coord];
//转换为NSValue
NSValue *value = [NSValue valueWithBytes:&locCoord objCType:@encode(CLLocationCoordinate2D)];
//转换回结构体
CLLocationCoordinate2D coord;