@interface Calendar : NSObject
-(int) months;
@end

@implementation Calendar
const int months = 12;

-(int) months {
    return months;
}
@end

Calendar *calendar = [Calendar new];
int months = [calendar months];
//months is 12