0 votes
in Technology by (323k points)

What is the difference between underscore and self (i.e self.xx and _xx) ?

1 Answer

0 votes
by (323k points)
when you are using the self.XX, you access the property via the setter or getter.
when you are using the _XX, you access the property directly skip the setter or getter
...