I have block declaration
typedef void (^ServerResponse)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error);
I have variable of type
id myObj;
which contains that block inside. The question is how to get access to variables from block declaration: data, response and error via pointer on it of id type.
I'm using such a construction to swizzle NSURLSession method.