You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -191,9 +191,9 @@ The example above demonstrates the following style guidelines:
191
191
192
192
### Use of Self
193
193
194
-
Avoid using `self` since Swift does not require it to access an object's properties or invoke its methods.
194
+
For conciseness, avoid using `self` since Swift does not require it to access an object's properties or invoke its methods.
195
195
196
-
The only reasons for requiring the use of `self`is to differentiate between property names and arguments when initializing a class or structure and when referencing properties in closures to make capture semantics explicit:
196
+
Use `self`when required to differentiate between property names and arguments in initializers, and when referencing properties in closures to make capture semantics explicit:
0 commit comments