Our main SDK.
- **Jazzy** ```[sudo] gem install jazzy```
- **Brew** ```/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"```
- **Make** ```brew install make```
- **Swiftlint** ```brew install swiftlint```
## Style Guide
Following our style guide should:
* Make it easier to read and begin understanding the unfamiliar code.
* Make code easier to maintain.
* Reduce simple programmer errors.
* Reduce cognitive load while coding.
* Keep discussions on diffs focused on the code's logic rather than its style.
*Note that brevity is not a primary goal.*
[Official Style Guide] (https://github.com/virtualstores/ios-style-guide)
## Installation
####Using as a dependency
``` swift
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "YourTestProject",
dependencies: [
.package(url: "https://github.com/virtualstores/ios-sdk.git", from: "0.0.1")
],
targets: [
.target(name: "YourTestProject", dependencies: ["VSTT2"])
]
)
And then import wherever needed: import VSTT2
If you have doubts, please, check the following links:
After successfully retrieved the package and added it to your project, just import VSTT2
and you can get the full benefits of it.
import VSTT2
// Add some example here
[Read Apple's official documentation] (https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages)
[Read About code obfuscation] (https://github.com/rockbruno/swiftshield)
Package.swift
fileWe have added a few helpers to make your life easier:
make build
to build the project via command linemake test
to test the project via command linemake docs
to generate the documentation and output to the Docs
foldermake lint
to execute Swiftlintmake fixlint
to auto-correct Swiftlint warningslink |
Stars: 0 |
Last commit: 6 days ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics