I am using the following code ...
-(id) initWithVariableName:(NSString*)variableName withComparisonValue:(NSString*)comparisonValue { // super init
_varName = varName;
You can use just this but without the @synthesize - whenever you want to use that variable you just write _*variable name* and it eliminates the error
@synthesize
_*variable name*