Skip to content

Commit 8bd3b85

Browse files
authored
Update README.md
1 parent 06f7235 commit 8bd3b85

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
11
# SPQRCode
2+
3+
<img src="https://user-images.githubusercontent.com/10995774/159240125-e95bdd73-63e8-42a7-b2fc-a3073f2d3f2b.PNG" height="550"/>
4+
5+
Filter with handling data and simple example.
6+
7+
```swift
8+
SPQRCode.scanning(
9+
detect: { data in
10+
switch data {
11+
case .ethWallet(let address):
12+
return data
13+
default: return nil
14+
}
15+
},
16+
handled: { data, controller in
17+
controller.dismiss(animated: true)
18+
},
19+
on: self
20+
)
21+
```

0 commit comments

Comments
 (0)