Skip to content

Commit

Permalink
Add syntax to blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorge committed Feb 23, 2019
1 parent e26693a commit 111d7e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ There is!

If we treat view controllers like functional pieces, we can expose a small interface to interact with them and use delegation to get stuff out. Here’s a trivial example:

```
```swift
protocol PeopleViewControllerDelegate: AnyObject {
func personSelected(_ person: Person, from viewController: PeopleViewController)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ My sample project uses a Vapor web server, but you can sub out anything you wish

We start with a Dockerfile that will build up our nginx container:

```
```docker
# build from the official Nginx image
FROM nginx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you're like me, you're a stickler for having clean API boundaries. This means

First, in your framework's root, create a file called `module.map`. I don't know why it has to be this exact title, but it does. Here's its contents:

```
```objc
module LanguageKit_Private {
// import your private headers here
export *
Expand Down

0 comments on commit 111d7e8

Please sign in to comment.