File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -6,32 +6,32 @@ Introduces `ASCIIString` and `ASCIICharacter` types for Swift offering validatio
66
77Complete unit test coverage.
88
9- ## Getting Started
9+ ## Installation
1010
11- 1 . SwiftASCII is available as a Swift Package that can be added as a dependency in your app or package.
11+ ### Swift Package Manager (SPM)
1212
13- - In an Xcode app project or framework add the package dependency to your target using this URL :
13+ To add this package to an Xcode app project, use :
1414
15- ` https://github.com/orchetect/swift-ascii `
16-
17- - In a Swift Package, add it to the Package.swift dependencies:
18-
19- ``` swift
20- .package (url : " https://github.com/orchetect/swift-ascii" , from : " 1.3.0" )
21- ```
22-
23- - Then add it to the target (s) that will use it:
15+ ` https://github.com/orchetect/swift-ascii ` as the URL.
2416
25- ```swift
26- .product (name : " SwiftASCII" , package : " swift-ascii" )
27- ```
28- 2 . Import the library:
17+ To add this package to a Swift package, add the dependency to your package and target in Package.swift:
2918
30- ```swift
31- import SwiftASCII
32- ```
19+ ``` swift
20+ let package = Package (
21+ dependencies : [
22+ .package (url : " https://github.com/orchetect/swift-ascii" , from : " 1.3.0" )
23+ ],
24+ targets : [
25+ .target (
26+ dependencies : [
27+ .product (name : " SwiftASCII" , package : " swift-ascii" )
28+ ]
29+ )
30+ ]
31+ )
32+ ```
3333
34- ### ASCIIString
34+ ## ASCIIString
3535
3636``` swift
3737// failable init
You can’t perform that action at this time.
0 commit comments