Skip to content

Commit 760251b

Browse files
committed
Merge branch 'main' of github.com:jiahan-wu/swiftui-code39
2 parents d878ded + 56fbfa6 commit 760251b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ SwiftUI Code39 is a Swift package that provides an easy way to generate Code 39
44

55
## Installation
66

7-
To use SwiftUI Code39 in your project, add the following line to your `Package.swift` file:
7+
To use SwiftUI Code39 in your project:
88

9-
```swift
10-
dependencies: [
11-
.package(url: "https://github.com/jiahan-wu/swiftui-code39.git", from: "1.0.0")
12-
]
13-
```
9+
1. Xcode > File > Add Package Dependencies
10+
2. Add `https://github.com/jiahan-wu/swiftui-code39.git`
11+
3. Select "Up to Next Major Version" with "1.0.0"
1412

1513
Then, import the package in your Swift code:
1614

@@ -20,7 +18,7 @@ import Code39
2018

2119
## Usage
2220

23-
To generate a Code 39 barcode, simply create an instance of `Code39View` and provide the desired content as a string:
21+
To generate a Code 39 barcode, simply create a `Code39View` and provide the desired content as a string:
2422

2523
```swift
2624
struct ContentView: View {

0 commit comments

Comments
 (0)