This is a Swift repository which shares common functionality across most of our repositories which solve separate problems in Substrate ecosystem.
So this is a good place to store new types that do not exist in Swift environment, but required for Substrate to work, such as Rust-specific types; some syntax sugar to enhance development speed and code readibility; and different conversions between multiple types that happens frequently.
At Sublab we're making mobile-first libraries for developers in Substrate ecosystem. However, we seek our libraries to be available not only for mobile Apple OS or Android OS, but compatible with any Swift/Kotlin environment: web servers, desktop apps, and whatnot.
Our mission is to to develop fully native open-source libraries for mobile platforms in Polkadot and Kusama ecosystems, covering everything with reliable unit-tests and providing rich documentation to the developers community.
Our goal is to have more developers to come into the world of development of client applications in Substrate ecosystem, as we find this as most promising and intelligent blockchain project we ever seen. Thus, we as mobile development gurus trying to create enormously professional libraries which might be very complicated under the hood, but very simple and convenient for final developers.
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'CommonSwift'
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding CommonSwift as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
.package(url: "https://github.com/sublabdev/common-swift.git", from: "1.0.0")
- Our GitBook: https://docs.sublab.dev/swift-libraries/common-library
- API reference: https://api-reference.sublab.dev/common-swift/
Please look into our contribution guide and code of conduct prior to contributing.
- Website: sublab.dev
- E-mail: info@sublab.dev
- Telegram support channel: t.me/sublabsupport
- Twitter: twitter.com/sublabdev