SFSymbol makes ease of accessing SFSymbols.
Requirements • Usage • Installation • Author • License
- iOS 14.0+ / Mac OS X 11.0+
- Xcode 10.2+
- Swift 5.0+
VStack(spacing: 10) {
Group {
SFSymbol().circle
SFSymbol().circle.fill
SFSymbol().checkmark
SFSymbol().person.fill.checkmark
SFSymbol().rectangle.fill.badge.checkmark
SFSymbol().text.badge.checkmark
SFSymbol().video.badge.checkmark
SFSymbol().square.and.pencil
}
Group {
SFSymbol(1).magnifyingglass
SFSymbol("00").square
SFSymbol().cylinder.split + "1x2" // cylinder.split.1x2
(SFSymbol().cylinder.split + "1x2").fill // cylinder.split.1x2.fill
SFSymbol().cylinder.split + SFSymbol("1x2").fill // cylinder.split.1x2.fill
}
}
You can use The Swift Package Manager to install SFSymbol
by adding the proper description to your Package.swift
file:
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
targets: [],
dependencies: [
.package(url: "https://github.com/shawnynicole/SFSymbol.git", from: "1.0.0")
]
)
For more information on Swift Package Manager, checkout its GitHub Page.
Download the project and copy the SFSymbol
folder into your project to use it in.
shawnynicole
SFSymbol is available under the MIT license. See the LICENSE file for more info.