making header file than can be used anywhere for iphone
<p>i want to make headerfile Rimage.h and m that i can use anywhere but i have a problem here
this is my </p>

<p>Rimage.h</p>

<pre><code>@class Rahul_imageplaceCordinatesViewController;

@interface Rimage : NSObject {

    Rahul_imageplaceCordinatesViewController *vc;
}

-(void)addImageSubViewAtX:(CGFloat)x atY:(CGFloat)y;
@property (nonatomic,copy) Rahul_imageplaceCordinatesViewController *vc;
+(void)check1;

@end
</code></pre>

<p>and this is my .m</p>

<pre><code>@implementation Rimage
@synthesize vc;

/// this method let you have image with given X n Y
- (void)addImageSubViewAtX:(CGFloat)x atY:(CGFloat)y {
CGRect myImageRect1 = CGRectMake(x, y, 30.0f, 30.0f); 
    UIImageView *myImage1 = [[UIImageView alloc] initWithFrame:myImageRect1]; 

    [myImage1 setImage:[UIImage imageNamed:@"status_finish.gif"]]; 
    myImage1.tag = 1000;

    myImage1.userInteractionEnabled = YES;
    [self.view addSubview:myImage1];    
}
</code></pre>

<p>now in my mainVC</p>

<p>i am calling like this</p>

<pre><code>- (void)viewDidLoad {    
    Rimage *hw = [[Rimage alloc] init];

    //[hw check1];
    [Rimage check1];
    [hw addImageSubViewAtX:160.0 atY:190.0];        
}
</code></pre>

<p>but i cant display that image   i dont know why :(</p>
