Skip to content

Nirma/SFSymbol

Repository files navigation

SFSymbol: SFSymbols 6 through 1.1

Build Status Swift Package Manager compatible CocoaPods compatible Carthage compatible License

All the SFSymbols at your fingertips (SFSymbol 6 through 1.1)

demo6

Usage

SFSymbol6, SFSymbol5 and so on are enums 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

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.