Skip to content

jrsaruo/template-swift-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

template-swift-library

A template repository for Swift libraries.

Requirements

  • <PLATFORM_VERSION>
  • <SWIFT_VERSION>

Using <LIBRARY_NAME> in your project

To use the <LIBRARY_NAME> library in a SwiftPM project, add the following line to the dependencies in your Package.swift file:

.package(url: "https://github.com/jrsaruo/<LIBRARY_NAME>", from: "1.0.0"),

and add <LIBRARY_NAME> as a dependency for your target:

.target(name: "<target>", dependencies: [
    .product(name: "<LIBRARY_NAME>", package: "<PACKAGE_NAME>"),
    // other dependencies
]),

Finally, add import <LIBRARY_NAME> in your source code.

About

A template repository for Swift libraries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published