What is the Syntax for initializing instance variables and propertiesin the ViewController ? this is the code of the implementation
CalcViewController.m
#import "CalcViewController.h"
@interface CalcViewController ()
{
int initialValue;
}
@property(nonatomic,weak) BOOl isFirstEntry;
@end
@implementation CalcViewController
@synthesize isFirstEntry = _isFirstEntry;
.......
.......
.......
.......
@end
-(id) init
{
self = [super init];
if(self)
{
............;
}
return self;
}
this does not get triggered.
init?