how to override a property synthesized getter?
I just want to add, I was not able to override BOOL property with getter/setter, until I add this :
@synthesize myBoolProperty = _myBoolProperty;
so the complete code is :
in header file :
@property BOOL myBoolProperty;
in implementation file :
@synthesize myBoolProperty = _myBoolProperty;
-(void)setMyBoolProperty:(BOOL) myBoolPropertyNewValue
{
_myBoolProperty = myBoolPropertyNewValue;
}
-(BOOL) myBoolProperty
{
return _myBoolProperty;
}