On 07/15/2012 11:11 PM, Jonathan M Davis wrote:
There are two levels to enforcement. Neither exist without -property. The absolutely minimal level is that anything marked with @property must be used as a property. Without this, you can't swap out a property function for a variable without breaking code.
If it means what I think it means then that should be done and this is where -property fails.
The second level - i.e. strict property enforcement - also requires that non- property functions be called as functions.
Exactly. This part is useless. (The 'Without this, you can't...' part is notably missing.)