title: How to use a image created by UIImage category
body: <p>I have created a method to create a circle which is working fine when i am using this method in the same class but when i making a category of this doesnot show up</p>
  
  <pre><code>#import "UIImage+circle.h"
  @implementation UIImage (circle)    
  - (UIImage * ) makeImageofColor:(UIColor *)color
   {
          UIBezierPath *circle = [UIBezierPath
                                  bezierPathWithOvalInRect:CGRectMake(0, 0, 15, 15)];
          UIGraphicsBeginImageContext(CGSizeMake(15, 15));
          CGContextRef context = UIGraphicsGetCurrentContext();
          CGContextSetFillColorWithColor(context, [UIColor greenColor].CGColor);
          [circle fill];
          UIImage *bezierImage = UIGraphicsGetImageFromCurrentImageContext();
          UIGraphicsEndImageContext();
          return bezierImage;
      }
     @end
  </code></pre>
  
  <p>and in ViewController.m</p>
  
  <pre><code>- (void)viewDidLoad
   {
        [super viewDidLoad];
        UIImage *img;
        self.ImageView1.image=[img makeImageofColor:[UIColor greenColor]];
  }
  </code></pre>