classOne.h followed by classOne.m
@interface classOne : NSObject
@property int xyz;
@end
#import "classOne.h"
@implementation srModel
@synthesize gameType;
@end
classTwo.m
#import "classOne.h"
@implementation classOne
classOne *ClassOne;
ClassOne.xyz=99;
@end
when I debug the program its still showing xyz as nil. Am I doing this correct? I'm new to objective C.