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
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ The example above demonstrates the following style guidelines:
193
193
194
194
Avoid using `self` since Swift does not require it to access an object's properties or invoke its methods.
195
195
196
-
The only reason for requiring the use of `self` is to differentiate between property names and arguments when initializing a class or structure:
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:
0 commit comments