Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Jul 19, 2022
1 parent 0eaf5d0 commit 32f5eae
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,28 @@ Type-safe `ASCIIString` and `ASCIICharacter` types for Swift.

Complete unit test coverage.

## Installation
## Getting Started

### Swift Package Manager (SPM)

To add SwiftASCII to your Xcode project:
1. Add SwiftASCII as a dependency using Swift Package Manager.

1. Select File → Swift Packages → Add Package Dependency
2. Add package using `https://github.com/orchetect/SwiftASCII` as the URL.
- In an app project or framework, in Xcode:

## Getting Started
- Select the menu: **File → Swift Packages → Add Package Dependency...**
- Enter this URL: `https://github.com/orchetect/SwiftASCII`

```swift
import SwiftASCII
```
- In a Swift Package, add it to the Package.swift dependencies:

```swift
.package(url: "https://github.com/orchetect/SwiftASCII", from: "1.1.0")
```

2. Import the library:

```swift
import SwiftASCII
```

### ASCIIString

Expand Down

0 comments on commit 32f5eae

Please sign in to comment.