Should I Use self Keyword (Properties) In The Implementation?
问题 I believe I understand properties for the most part. My question is, if I have a property for an instance variable, and I am setting or retrieving it from within a method in my implementation file, should I use self.myProperty or just myProperty ? I know either one works, but I have seen mixed conventions, sometimes code accesses the variable directly and other times through the property. Is there a technical reason for doing this? Is it just convention/personal preference? And I'm not