You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For general usage, please compare the source code provided in the demo project.
3
+
## Installation
6
4
7
-
### Swift PM
5
+
### SwiftPM
8
6
9
-
As this repository provides a `Package.swift` on root level, you can add `zxing-cpp` including wrapper code by adding a Package Dependency in Xcode.
7
+
As this repository provides a `Package.swift` on the root level, so you can add `zxing-cpp` including wrapper code by adding a Package Dependency in Xcode.
10
8
11
-
An alternative way is to check this repository out and add it as a local Swift Package by adding it as dependency to your app.
9
+
An alternative way is to check this repository out and add it as a local Swift Package by adding it as a dependency to your app.
12
10
13
11
### CocoaPods
14
12
15
-
As an alternative way, you can also rely on [CocoaPods](https://cocoapods.org/pods/zxing-cpp). Just add the Pod as dependency, for instance:
13
+
You can also use [CocoaPods](https://cocoapods.org/pods/zxing-cpp). Just add the Pod as a dependency:
16
14
17
15
```
18
16
pod 'zxing-cpp'
19
17
```
20
-
21
-
If you just need the core without the wrapper code, you can also rely on:
22
-
18
+
The module to be imported is named `ZXingCpp`. If you just need the core without the wrapper code, you can use:
23
19
```
24
20
pod 'zxing-cpp/Core'
25
21
```
26
22
27
-
The module to be imported is named `ZXingCpp`.
23
+
## Usage
24
+
25
+
For general usage of the ObjectiveC/Swift wrapper, please have a look at the source code provided in the [demo project](demo).
0 commit comments