title: error when calling a method: error use of undeclared identifier
body: <p>So i have the below method declaration and definition,</p>
  
  <pre><code>  -(UIImageView *)returnImageView:(UIImageView *)myImageView color:(UIColor *)imageViewColor x:(int)xParameter y:(int)yParamater width:(int)widthParameter height:(int)heightParameter
  {  
  CGRect cellFrame = CGRectMake(xParameter, yParamater, widthParameter, heightParameter);
  style:UITableViewStyleGrouped];
  myImageView = [myImageView initWithFrame:cellFrame];
  myImageView.backgroundColor =imageViewColor;
  myImageView.opaque = YES;
  return myImageView;
  }
  </code></pre>
  
  <p>This method will return an image view.</p>
  
  <p>I am trying to call it as </p>
  
  <pre><code>UIImageView *myImageViews;
  UIColor *tableColor = [UIColor blueColor] ;
  [self.view addSubview:[returnImageView:myImageViews color:tableColor x:17 y:10 width:290 height:230]; 
  </code></pre>
  
  <p>which is giving a compiler error use of undeclared identifier returnImageView. What is causing the error ?</p>
  
  <p>Thanks</p>