title: Create block variable
body: <p>I have function, where I add block variable <strong>blockIfLoadingImageFromServer</strong> to array:</p>
  
  <pre><code>- (UIImage *)getImageWithblockIfLoadingImageFromServer:(void (^)(UIImage *imageCompleted))blockIfLoadingImageFromServer
  {
        [array addObject:blockIfLoadingImageFromServer];
  }
  </code></pre>
  
  <p>Then I want to get this variable, but I don't know how. I tried:</p>
  
  <pre><code>(void (^)(UIImage *imageCompleted))blockIfLoadingImageFromServer = [array objectAtIndex:0];
  void (^)(UIImage *imageCompleted) *blockIfLoadingImageFromServer = [array objectAtIndex:0];
  </code></pre>
  
  <p>But that gives an error (bad syntax). How can I do this?</p>