Skip to content

Commit ede78f7

Browse files
committed
Merge pull request kodecocodes#76 from gregheo/method-naming
Better method naming example + screenshot
2 parents 9e814aa + 27fa31c commit ede78f7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.markdown

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,13 @@ When referring to functions in prose (tutorials, books, comments) include the re
8181

8282
> Call `convertPointAt(column:row:)` from your own `init` implementation.
8383
>
84-
> If you implement `didSelectRowAtIndexPath`, remember to deselect the row when you're done.
84+
> If you implement `timedAction`, remember to provide an appropriate delay value.
8585
>
8686
> You shouldn't call the data source method `tableView(_:cellForRowAtIndexPath:)` directly.
8787
88+
When in doubt, look at how Xcode lists the method in the jump bar – our style here matches that.
89+
90+
![Methods in Xcode jump bar](screens/xcode-jump-bar.png)
8891

8992
### Class Prefixes
9093

screens/xcode-jump-bar.png

26.5 KB
Loading

0 commit comments

Comments
 (0)