thii / FontAwesome.swift

Use FontAwesome in your Swift projects
MIT License
1.57k stars 266 forks source link

Added supported styles to FontAwesome with Demo #244

Closed novinfard closed 4 years ago

novinfard commented 4 years ago

This is a follow-up to the issue of supported styles for each font: https://github.com/thii/FontAwesome.swift/issues/205

The PR adds the required functionality needed for supported styles. It seems even FontAwesomeBrands can be converted to just a computed property or function based on current supported styles which is a subject of another work.

A gallery is added to the demo project as a use-case as well. Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-27 at 01 00 16