Skip to content

Commit

Permalink
updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
RockLobster committed Feb 12, 2020
1 parent 3d6a2e0 commit 50119cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ let package = Package(
.target(
name: "CocoaAsyncSocket",
dependencies: [],
path: "Source/GCD")
path: "Source/GCD",
publicHeadersPath: "")
]
)
9 changes: 9 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ The project is currently configured to build for **iOS**, **tvOS** and **Mac**.

Select the correct framework(s) and drag it into your project.

#### Swift Package Manager

Simply add the package dependency to your Package.swift and depend on "CocoaAsyncSocket" in the necessary targets:
```swift
dependencies: [
.package(url: "https://github.com/robbiehanson/CocoaAsyncSocket", from: "7.6.3")
]
```

#### Manual

You can also include it into your project by adding the source files directly, but you should probably be using a dependency manager to keep up to date.
Expand Down

0 comments on commit 50119cd

Please sign in to comment.