All the SFSymbols at your fingertips (SFSymbol 6 through 1.1)
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"
.
sf6demo.mp4
SFSymbol6.Camera.cameraMeteringPartial.image
or
UIImage(symbol: SFSymbol6.Camera.cameraMeteringPartial)
Simply add a package to your project passing in https://github.com/Nirma/SFSymbol
and your preferred version i.e 3.0
Just add this line to your podfile:
pod 'SFSymbol'
github "Nirma/SFSymbol"
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.
SFSymbol is released under the MIT license. See LICENSE for details.