Swiftpack.co - ralph-e-boy/UIImage-SFSymbols as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ralph-e-boy.
ralph-e-boy/UIImage-SFSymbols v1.0
Category on UIImage to use SFSymbols
⭐️ 1
🕓 1 year ago
.package(url: "https://github.com/ralph-e-boy/UIImage-SFSymbols.git", from: "v1.0")

UIImage-SFSymbols (version 2.1 / 3)

Extension / Category on UIImage for SFSymbols

Example:

instead of;

   let image = UIImage(systemName: "multiply.circle.fill")

use:

   let image = UIImage(.sf_multiply_circle_fill)
   let image: UIimage = .sf_multiply_circle_fill
   let imageView = UIImageView(image: .sf_multiply_circle_fill) 

Installation - Swift Package Manager

   .package(url: "https://github.com/ralph-e-boy/UIImage-SFSymbols", branch: "main")

Versions / tags

Version 2.0.0 of this library was built against SFSymbols 2.1

Version 3.0.0 of this library was built against SFSymbols 3.0

The source is is generated using the shell script in bin/ against the plist found in the SFSymbols App

Adjust format as you see fit, and regenerate the swift by typing "make" from the root directory

GitHub

link
Stars: 1
Last commit: 18 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

3.0.0 -> SFSymbols 3.0
32 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics