With ARC why use @properties anymore?
Posted
by
trapper
on Stack Overflow
See other posts from Stack Overflow
or by trapper
Published on 2012-03-26T17:02:20Z
Indexed on
2012/03/26
17:29 UTC
Read the original article
Hit count: 253
In non-ARC code retained properties handily take care of memory management for you using the self.property =
syntax, so we were taught to use them for practically everything.
But now with ARC this memory management is no longer an issue, so does the reason for using properties evaporate? is there still any good reason (obviously other than providing public access to instance variables) to use properties anymore?
© Stack Overflow or respective owner