Skip to content

Commit 378bd74

Browse files
authored
Update README.md
1 parent a3c4be7 commit 378bd74

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ controller.dismissalDelegate = self
5151
presentViewController(controller, animated: true, completion: nil)
5252
```
5353

54-
5554
<div align="center">
5655
<img src="https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleScanning.png" alt="BarcodeScanner scanning" width="270" height="480" />
57-
</div>
58-
56+
</div><br/>
5957

6058
You can also push `BarcodeScannerController` to your navigation stack:
6159

@@ -114,11 +112,9 @@ extension ViewController: BarcodeScannerDismissalDelegate {
114112
When the code is captured `BarcodeScannerController` switches to the processing
115113
mode:
116114

117-
118115
<div align="center">
119116
<img src="https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleLoading.png" alt="BarcodeScanner loading" width="270" height="480" />
120-
</div>
121-
117+
</div><br/>
122118

123119
While the user see a nice loading animation you can perform some
124120
background task, for example make a network request to fetch product info based
@@ -136,11 +132,9 @@ func barcodeScanner(controller: BarcodeScannerController, didCapturedCode code:
136132
2. Show an error message and switch back to the scanning mode (for example,
137133
when there is no product found with a given barcode in your database):
138134

139-
140135
<div align="center">
141136
<img src="https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleError.png" alt="BarcodeScanner error" width="270" height="480" />
142-
</div>
143-
137+
</div><br/>
144138

145139
```swift
146140
func barcodeScanner(controller: BarcodeScannerController, didCapturedCode code: String) {

0 commit comments

Comments
 (0)