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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -