Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrsaruo/template-swift-library
A template repository for Swift libraries.
https://github.com/jrsaruo/template-swift-library
Last synced: about 2 months ago
JSON representation
A template repository for Swift libraries.
- Host: GitHub
- URL: https://github.com/jrsaruo/template-swift-library
- Owner: jrsaruo
- License: mit
- Created: 2023-02-24T18:34:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T16:28:20.000Z (11 months ago)
- Last Synced: 2024-02-19T18:16:20.875Z (11 months ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# template-swift-library
A template repository for Swift libraries.
## Requirements
- \
- \## Using \ in your project
To use the `` library in a SwiftPM project, add the following line to the dependencies in your `Package.swift` file:
```swift
.package(url: "https://github.com/jrsaruo/", from: "1.0.0"),
```and add `` as a dependency for your target:
```swift
.target(name: "", dependencies: [
.product(name: "", package: ""),
// other dependencies
]),
```Finally, add `import ` in your source code.