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:
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)
We have added a few helpers to make your life easier:
make buildto build the project via command line
make testto test the project via command line
make docsto generate the documentation and output to the
make lintto execute Swiftlint
make fixlintto auto-correct Swiftlint warnings
|Last commit: 6 days ago|