Skip to content

Commit 1967576

Browse files
Fixing iOS guides
1 parent a05b996 commit 1967576

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

programming/objectivec-swift/foundational-guide.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ Dynamsoft Barcode Reader needs a valid license to work.
102102
>
103103
>1.
104104
```objc
105-
#import <DynamsoftLicense/DynamsoftLicense.h>
105+
#import <DynamsoftCaptureVisionBundle/DynamsoftCaptureVisionBundle.h>
106106
@interface ViewController () <DSLicenseVerificationListener>
107107
```
108108
2.
109109
```swift
110-
import DynamsoftLicense
110+
import DynamsoftCaptureVisionBundle
111111
class ViewController: UIViewController, LicenseVerificationListener
112112
```
113113

@@ -160,12 +160,10 @@ Dynamsoft Barcode Reader needs a valid license to work.
160160
>1.
161161
```objc
162162
#import <DynamsoftCaptureVisionBundle/DynamsoftCaptureVisionBundle.h>
163-
#import <DynamsoftBarcodeReaderBundle/DynamsoftBarcodeReaderBundle.h>
164163
```
165164
2.
166165
```swift
167166
import DynamsoftCaptureVisionBundle
168-
import DynamsoftBarcodeReaderBundle
169167
```
170168

171169
2. Initialize `CameraEnhancer` and `CameraView` and add configurations for the `CameraEnhancer`.

programming/objectivec-swift/user-guide.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ The first major step in code configuration is to include a valid license in the
104104
>1.
105105
```objc
106106
#import "ViewController.h"
107-
#import <DynamsoftLicense/DynamsoftLicense.h>
108107
#import <DynamsoftBarcodeReaderBundle/DynamsoftBarcodeReaderBundle.h>
109108
#import <DynamsoftBarcodeReaderBundle/DynamsoftBarcodeReaderBundle-Swift.h>
110109
@interface ViewController ()
@@ -156,7 +155,6 @@ The first major step in code configuration is to include a valid license in the
156155
2.
157156
```swift
158157
import UIKit
159-
import DynamsoftLicense
160158
import DynamsoftBarcodeReaderBundle
161159
class ViewController: UIViewController {
162160
let button = UIButton()

0 commit comments

Comments
 (0)