i want to create some header file for future use but i have 1 problem
i have defined a method in lets say Rimage class called check1 now i want to call that from maiviewcont
so i did this in mainVC.h i defined a instance of Rimage class
#import <UIKit/UIKit.h>
@class Rimage;
@interface Rahul_imageplaceCordinatesViewController : UIViewController {
Rimage *aRimage;
}
@property (nonatomic,copy) Rimage *aRimage;
@end
and in .m
[self.aRimage check1];
aRimage = [Rimage check1];
but both are not working
i went for both +(void)check1 and -(void)check1 in Rimage class