I am trying to create a custom setter method for my property. Below is my code.
I am getting a waring Attempting to access \'myProperty\' within its own
Create a backing ivar and add a custom setter:
private _myProperty: String var myProperty: String { get { if CONDITION1 { return CONDITION1_STRING } else if CONDITION2 { return CONDITION2_STRING } else { return _myProperty } } set { _myProperty = newValue } }