If you write @synthesize x;
you can either use self.x
or x
If you don't synthesize the property the compiler does behind the scenes this: @synthesize x = _x
. Now you can either use self.x
or _x
But you can synthesize and assign the ivar a different name as well, e.g. @sythesize x = _aBoolen
—now you can use self.x
or _aBoolean