Declare iVar using blocks in objective c
<p>I am new to blocks. I want to create a iVar NSMutableArray which I can access inside a block method.Can someone please tell me how to declare it using _block keyword?`</p>

<pre><code>@interface ViewController : UIViewController
{
    __block NSMutableArray *array;
}
@property (nonatomic, weak) NSMutableArray *array;
</code></pre>
