Awesome
SFSymbol: SFSymbols 6 through 1.1
All the SFSymbols at your fingertips (SFSymbol 6 through 1.1)
Usage
SFSymbol6
, SFSymbol5
and so on are enum
s that contain the identifier strings of all of apple's SFSymbols version 6 through 1.1.
For example SFSymbol6.Camera.cameraMeteringPartial.image
produces a SwiftUI Image
or omitting the .image
part will return an enum case with the associated raw value of "camera.metering.partial"
.
https://github.com/user-attachments/assets/96eb227f-e34e-442c-b42f-e5826973030c
SwiftUI
SFSymbol6.Camera.cameraMeteringPartial.image
or
UIKit
UIImage(symbol: SFSymbol6.Camera.cameraMeteringPartial)
Installation
Swift Package Manager (Preferred)
Simply add a package to your project passing in https://github.com/Nirma/SFSymbol
and your preferred version i.e 3.0
Cocoapods
Just add this line to your podfile:
pod 'SFSymbol'
Carthage
github "Nirma/SFSymbol"
Contributing to this project
Contributions are highly welcome
If there is something you wish to fix about the project, or wish to add any other kind of enhancements, propose to add to the project. Please feel free to send over a pull request or open an issue for this project.
License
SFSymbol is released under the MIT license. See LICENSE for details.