Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ApolloZhu committed Oct 21, 2020
1 parent 90ad587 commit 97eb1a6
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 @@ -57,7 +57,7 @@ Copy all the `.swift` files from the `Sources` folder into your project.
```swift
import swift_qrcodejs

guard let qrCode = QRCode("Hello World!") else {
guard let qrCode = try? QRCode("Hello World!") else {
fatalError("Failed to generate QRCode")
}
print(qrCode.toString(filledWith: "##", patchedWith: " "))
Expand Down

0 comments on commit 97eb1a6

Please sign in to comment.