Text("Hello")
.charcoalTypography20Bold()
Button("OK") {}
.charcoalPrimaryButton(size: .medium)
Storyboardとコードから利用可能です。
let label = CharcoalTypography20()
label.isBold = true
label.text = "Hello"
let buttton = CharcoalPrimaryMButton()
button.setTitle("OK", for: .normal)
Swift Package Managerを使ってライブラリをインストールすることができます。
dependencies: [
.package(url: "https://github.com/pixiv/charcoal-ios", .upToNextMajor(from: "1.0.0"))
]
Xcode configuration DebugMaxDeploymentTarget
は、自動化テストの際に IPHONEOS_DEPLOYMENT_TARGET
を指定するためだけに使用されます。
Run swiftgen
command in the charcoal-ios
project folder.
swift run --package-path BuildTools swiftgen
swift run --package-path BuildTools swiftlint
swift run -c release --package-path BuildTools swiftformat .
link |
Stars: 52 |
Last commit: 4 days ago |
Full Changelog: https://github.com/pixiv/charcoal-ios/compare/1.4.1...1.4.2
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics