Skip to content

Commit 8a70524

Browse files
committed
How to talk about functions
close kodecocodes#32
1 parent 9dcb5e4 commit 8a70524

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.markdown

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,13 @@ class Guideline {
7676
}
7777
```
7878

79-
When referring to functions in prose (tutorials, books, comments) include the required parameter names from the caller's perspective.
79+
When referring to functions in prose (tutorials, books, comments) include the required parameter names from the caller's perspective. If the context is clear and the exact signature is not important, you can use just the method name.
8080

81-
> The `dateFromString()` function is great.
81+
> Call `convertPointAt(column:row:)` from your own `init` implementation.
8282
>
83-
> Call `convertPointAt(column:, row:)` from your `init()` method.
83+
> If you implement `didSelectRowAtIndexPath`, remember to deselect the row when you're done.
8484
>
85-
> The return value of `timedAction(delay:, perform:)` may be nil.
86-
>
87-
> Guideline objects only have two methods: `combineWithString(options:)` and `upvoteBy()`
88-
>
89-
> You shouldn't call the data source method `tableView(cellForRowAtIndexPath:)` directly.
85+
> You shouldn't call the data source method `tableView(_:cellForRowAtIndexPath:)` directly.
9086
9187

9288
### Class Prefixes

0 commit comments

Comments
 (0)