setup block parameter typed to id instead of BBHTTPRequest
jasperblues opened this issue · comments
[[BBHTTPRequest readResource:@"http://foo.bar/baz/1"] setup:^(id request) {
// Prepare request...
} execute:^(BBHTTPResponse* response) {
// Handle response...
} error:^(NSError* error) {
// Handle error...
} finally:^{
// Do after error OR success.
}];
... why is the setup
block parameter typed to id
? Is it a BBHTTPRequest
?