instance method of class for iphone
<p>i want to create some header file for future use but i have 1 problem</p>

<p>i have defined a method in lets say Rimage class  called check1
now  i want to call that from maiviewcont </p>

<p>so i did this
in mainVC.h
i defined a instance of Rimage class</p>

<pre><code>#import &lt;UIKit/UIKit.h&gt;
@class Rimage;
@interface Rahul_imageplaceCordinatesViewController : UIViewController {

    Rimage *aRimage;
}
@property (nonatomic,copy) Rimage *aRimage;
@end
</code></pre>

<p>and in .m</p>

<pre><code>[self.aRimage check1];
aRimage = [Rimage check1];
</code></pre>

<p>but both are not working</p>

<p>i went for both +(void)check1 and -(void)check1 in Rimage class</p>
