Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrections to iOS exercise text #126

Merged
merged 6 commits into from
Sep 14, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Corrections to iOS Exercise 5 text
  • Loading branch information
Gary Sheppard committed Sep 14, 2017
commit 06ef82f6ab09776b2e70286436189a35d899ba84
4 changes: 2 additions & 2 deletions runtime-workshop/exercises/iOS/Swift/Exercise 5 Routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ After doing Exercise 4, this should seem familiar to you.
}
```

1. In `RoutingTouchDelegate.geoView`, after removing the z-value from `point` if necessary, check to see whether this is the first point clicked or the second. You will fill in the `if` and `else` blocks in the steps that follow:
1. In `RoutingTouchDelegate.geoView`, after the `if point.hasZ` block, check to see whether this is the first point clicked or the second. You will fill in the `if` and `else` blocks in the steps that follow:

```
if (nil == originPoint) {
Expand Down Expand Up @@ -127,7 +127,7 @@ After doing Exercise 4, this should seem familiar to you.
private let routingSceneGraphics = AGSGraphicsOverlay()
```

1. In `ViewController.init`, instantiate the `RoutingTouchDelegate`s that you just declared. This instantiation will change completely and become more complicated when you set up the actual routing, but for now, we’re just doing graphics, and the instantiation is only one line each:
1. In `ViewController.init`, after the call to `super.init`, instantiate the `RoutingTouchDelegate`s that you just declared. This instantiation will change completely and become more complicated when you set up the actual routing, but for now, we’re just doing graphics, and the instantiation is only one line each:

```
routingTouchDelegateMap = RoutingTouchDelegate(graphics: self.routingMapGraphics)
Expand Down