I have a block:

```
typedef id (^completionBlock)(id data, NSURLResponse *urlResponse, NSError *error);

```

And in a class method I try to populate this block with some code.

```
request.requestCompletedBlock = ^(id data, NSURLResponse *urlResponse, NSError *error){
  ...
return object;
};

```

requestCompletedBlock is of type completionBlock obviously.

I get the following error:

"Incompatible block pointer types assigning to 'completionBlock' (aka 'id (^)(\_*strong id, NSURLResponse \**\_strong, NSError \*\_\_strong)') from 'void \*(^)(\_*strong id, NSURLResponse \**\_strong, NSError \*\_\_strong)'"

Obviously my syntax is wrong somewhere, but where?

Thanks very much,

Vb