File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ Descriptive and consistent naming makes software easier to read and understand.
8787
8888When referring to methods in prose, being unambiguous is critical. To refer to a method name, use the simplest form possible.
8989
90- 1 . Write the method name with no parameters. ** Example:** Next, you need to call ` addTarget() ` .
91- 2 . Write the method name with argument labels. ** Example:** Next, you need to call ` addTarget(_:action:) ` .
92- 3 . Write the full method name with argument labels and types. ** Example:** Next, you need to call ` addTarget(_: Any?, action: Selector?) ` .
90+ 1 . Write the method name with no parameters. ** Example:** Next, you need to call the method ` addTarget ` .
91+ 2 . Write the method name with argument labels. ** Example:** Next, you need to call the method ` addTarget(_:action:) ` .
92+ 3 . Write the full method name with argument labels and types. ** Example:** Next, you need to call the method ` addTarget(_: Any?, action: Selector?) ` .
9393
9494For the above example using ` UIGestureRecognizer ` , 1 is unambiguous and preferred.
9595
You can’t perform that action at this time.
0 commit comments