microsoft / fluentui-system-icons

Fluent System Icons are a collection of familiar, friendly and modern icons from Microsoft.
https://aka.ms/fluentui-system-icons
MIT License
5.68k stars 501 forks source link

Support Swift Package Manager #543

Open mischreiber opened 1 year ago

mischreiber commented 1 year ago

CocoaPods support is awesome for macOS/iOS consumers, but the newer direction for package management on Apple platforms is Swift Package Manager (SPM). It'd be great for projects that use SPM, such as the FluentUI Apple demo app, to be able to consume icons via SPM instead of having to either introduce otherwise-unneeded CocoaPods dependencies or have to manually copy images into their repo (our current approach).

In theory, support should only require adding a Package.swift file to the root of the repo that describes the layout of the resources.

spencer-nelson commented 1 year ago

Thanks for the suggestion. We'd love to work with you to get SPM support in. If you want to create a PR with the requisite changes, or otherwise work on this, that'd be awesome!