I have a variable declared in the header file :
@interface
int _nPerfectSlides;
and
@property (nonatomic, readwri
1. For + (void)hit:Only have access to the self object.
--Step 1: Remove follwing line from header file
@property (nonatomic, readwrite) int _nPerfectSlides;
--Step 2:
int _nPerfectSlides in your class file globally.. @implementationEg: In .m File
#import "Controller.h"
int _nPerfectSlides // Add like this before @implementation
@implementation Controller
2. For - (void)hit:Only have access to the instance methods