I've just learned that you can modify the automatically generated getter and setter names for Objective-C properties
// boolean property of "door" object in game
@property (strong, nonatomic, getter=isOpen) BOOL open;
I understand how isOpen
is a preferable getting to just open
, but why not just change the property name to isOpen
?
Why would having the setter also named isOpen
be not desirable?