ios - Is it necessary to declare a property for a private variable? -
i wanted know if necessary declare property every private variable create in xcode projects. if is, can explain me reason? =)
properties useful if want add custom get-and-set logic variables. typically used more public variables. there cases when may want use them private variables, not "necessary".
Comments
Post a Comment