Though It's not evident how to reinforce a immediate member entry like foo.num = num, You can easily increase your common setter with a further pressure parameter: Below is another example on how @property will help when one has to refactor code which can be taken from in this article https://herohomesrealty.in/