File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,22 @@ Read and write common delimited text file formats, including:
1111
1212### Swift Package Manager (SPM)
1313
14- Add this package to your Xcode project using ` https://github.com/orchetect/swift-textfile-tools ` as the URL, or to a Swift package Package.swift:
14+ To add this package to an Xcode app project, use:
15+
16+ ` https://github.com/orchetect/swift-textfile-tools ` as the URL.
17+
18+ To add this package to a Swift package, add the dependency to your package and target in Package.swift:
19+
1520``` swift
1621let package = Package (
17- // ...
18- dependencies : [.package (" https://github.com/orchetect/swift-textfile-tools" , from : 0.2.2 )],
22+ dependencies : [
23+ .package (url : " https://github.com/orchetect/swift-textfile-tools" , from : " 0.3.0" )
24+ ],
1925 targets : [
2026 .target (
21- // ...
22- dependencies : [.product (name : " TextFileTools" , package : " swift-textfile-tools" )]
27+ dependencies : [
28+ .product (name : " TextFileTools" , package : " swift-textfile-tools" )
29+ ]
2330 )
2431 ]
2532)
@@ -52,4 +59,4 @@ Contributions are welcome. Posting in [Discussions](https://github.com/orchetect
5259
5360## Legacy
5461
55- This repository was formerly known as TextFileKit.
62+ This repository was formerly known as TextFileKit.
You can’t perform that action at this time.
0 commit comments