To run the example project, clone the repo, and run pod install
from the Example directory first.
支持通过swift lint自动格式化代码,在SwiftLint配置规则。
# 支持通过 homebrew 安装
brew install swiftlint
在Build Phases 中Run Swift Lint Script
if [[ "$(uname -m)" == arm64 ]]; then
export PATH="/opt/homebrew/bin:$PATH"
fi
if which swiftlint > /dev/null; then
swiftlint --fix --no-cache --config "${PROJECT_DIR}/.swiftlint.yml"
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
QSKitLibrary is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'QSKitLibrary'
QSKitLibrary is available under the MIT license. See the LICENSE file for more info.