I noticed that BNR code examples do not back properties with ivars. For example,
name is used rather than
I’ve read that because the compiler creates an ivar with the same names as the property with @synthesize, directly accessing the property name might happen, which apparently violates the principle of encapsulation. Also, I’ve read that @sythensize may be deprecated in future versions of Objective-c and automatic ivars may be implemented.
Do you back your properties with _ivars? If not, why not? Thanks!