Though It's not evident how to reinforce a immediate member obtain like foo.num = num, You can certainly increase your classic setter with a further force parameter: Beneath is yet another case in point on how @property can help when 1 has got to refactor code which is taken from https://aiplgurugram.co.in/