If you want to restrict access to any property, you can define this in a .m file with extension extension, etc.
As such a rule, defined for placing properties in .h or .m files, there is no need to check which properties you want to get outside the class (specify them in .h) and which you want to access from the outside (define in .m).
rishi source share