Swiftpack.co - storj-thirdparty/uplink-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by storj-thirdparty.
storj-thirdparty/uplink-swift v1.2.2
Swift bindings for libuplink
⭐️ 7
🕓 2 years ago
.package(url: "https://github.com/storj-thirdparty/uplink-swift.git", from: "v1.2.2")

uplink-swift binding

Codacy Badge

Developed using v1.2.2 storj/uplink-c

API documentation and tutorial

Initial Set-up (Important)

NOTE: For Golang

Make sure your PATH includes the $GOPATH/bin directory, so that your commands can be easily used Refer: Install the Go Tools:

export PATH=$PATH:$GOPATH/bin

Set-up Files

Add Swift Module in Swift Project

  • Open Xcode
  • Click on File > Swift Packages > Add Package Dependency
  • In New Pop Up window paste uplink-swift repository link and Click on next
  • Select branch name or version of package and then click on next button.
  • Uncheck the checkbox of uplink-swift library and then, click on finish button.
  • Using terminal navigate to the location of the uplink-swift library added in project.
  • Run following command in the terminal
	make
  • In Xcode, General > Frameworks and Libraries Section
  • Click on + icon and select storj-swift then click on Add button

NOTE: Storj("") if required then pass location of libuplinkc.dylib. Please refer sample main.swift file for sample.

Documentation

For more information on function definations and diagrams, check out the Detail or jump to:

GitHub

link
Stars: 7
Last commit: 6 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.2.2
2 years ago

-pinned to uplink-c v1.2.2

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics