Renaming a Getter in Objective C When Using @property
If we use @property to define setters and getters for our class variables if we want our getter name to be different (by default if we do not rename it, our getter have the same name as the variable name) we will use the following syntax:
@property (strong, nonatomic, getter=showJustAString) NSString *justAString
That way our getter will be showJustAString.
Note that by default when we define the property using:
@property (strong, nonatomic) NSString *justAString
our getter will be justAString.