Add polySans to demo app
Utilities for typographic tailoring in SwiftUI.
Select File -> Swift Packages -> Add Package Dependency and enter https://github.com/CypherPoet/SwiftUITypographyUtils.
File
Swift Packages
Add Package Dependency
https://github.com/CypherPoet/SwiftUITypographyUtils
You can add this project as a package dependency in your Package.swift file:
Package.swift
let package = Package( //... dependencies: [ .package( url: "https://github.com/CypherPoet/SwiftUITypographyUtils", .upToNextMinor(from: .init(0, 3, 0)) ), ], //... )
From there, refer to the SwiftUITypographyUtils “product” delivered by the CypherPoetSwiftUITypographyUtils “package” inside of any of your project’s target dependencies:
SwiftUITypographyUtils
CypherPoetSwiftUITypographyUtils
targets: [ .target( name: "YourLibrary", dependencies: [ .product(name: "SwiftUITypographyUtils", package: "CypherPoetSwiftUITypographyUtils"), ], ... ), ... ]
Then simply import SwiftUITypographyUtils wherever you’d like to use it.
import SwiftUITypographyUtils
Contributions to SwiftUITypographyUtils are most welcome. Check out some of the issue templates for more info.
Documentation is built with Xcode’s DocC. More details are forthcoming here – but for now, see Apple’s guidance on how to build, run, and create DocC content.
SwiftUITypographyUtils is available under the MIT license. See the LICENSE file for more info.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
SwiftUI Typography Utils ✍️
Utilities for typographic tailoring in SwiftUI.
Installation
Xcode Projects
Select
File
->Swift Packages
->Add Package Dependency
and enterhttps://github.com/CypherPoet/SwiftUITypographyUtils
.Swift Package Manager Projects
You can add this project as a package dependency in your
Package.swift
file:From there, refer to the
SwiftUITypographyUtils
“product” delivered by theCypherPoetSwiftUITypographyUtils
“package” inside of any of your project’s target dependencies:Then simply
import SwiftUITypographyUtils
wherever you’d like to use it.Contributing
Contributions to
SwiftUITypographyUtils
are most welcome. Check out some of the issue templates for more info.💻 Developing
Requirements
📜 Creating & Building Documentation
Documentation is built with Xcode’s DocC. More details are forthcoming here – but for now, see Apple’s guidance on how to build, run, and create DocC content.
🏷 License
SwiftUITypographyUtils
is available under the MIT license. See the LICENSE file for more info.