Ask a Question
Advertise on boostr.in
with arc why use properties anymore using -'objective-c,ios,xcode,automatic-ref-counting'
with arc why use properties anymore ¬†using -'objective-c,ios,xcode,automatic-ref-counting'
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?
Sep 7, 2015
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please