I am declaring this block syntactically it is right still it is throwing error please tell me what i am doing wrong in this declaration.

I am declaring this block syntactically it is right still it is throwing error please tell me what i am doing wrong in this declaration.

 
    
    Replace Like:
[arrToggelButton enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
    //Write Your code
}];
Happy Coding...
 
    
    It is not right. The method argument requires a block that takes an unsigned integer (NSUInteger), whereas you declared a signed integer argument (NSInteger).