Skip to content

Commit

Permalink
Merge pull request #45 from simorgh3196/fix-sample-code-in-readme
Browse files Browse the repository at this point in the history
Fix sample code in README.md
  • Loading branch information
giginet authored Jan 6, 2022
2 parents 45ec5f3 + 9b2dcbe commit 547b85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Imagine to implement Pokédex on iOS. You can access somewhere via URL scheme.
import Crossroad

let customURLScheme: LinkSource = .customURLScheme("pokedex")
let universalLink: LinkSource = .universalLink("https://my-awesome-pokedex.com")
let universalLink: LinkSource = .universalLink(URL(string: "https://my-awesome-pokedex.com")!)

do {
let router = try DefaultRouter(accepting: [customURLScheme, universalLink]) { registry in
Expand Down

0 comments on commit 547b85f

Please sign in to comment.