Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Fekete Endres committed Aug 31, 2018
1 parent cb5f108 commit 4463598
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -130,7 +130,11 @@ You can choose to have a initializer on `ViewModel` that receives a `model` or d

The `Router` is responsible for redirecting to new `Modules` using their `Builders`. Usually, It has a weak reference to the `View Controller` to be able to push to a new `Module`.

[Router Code]
```swift
func openTrackScreen(track: Track) {
viewController?.push(trackBuilder.makeModule(track: track), animated: true)
}
```

## Contract

Expand Down

0 comments on commit 4463598

Please sign in to comment.