apple / swift-algorithms

Commonly used sequence and collection algorithms for Swift
Apache License 2.0
5.97k stars 443 forks source link

CocoaPod support needed #74

Open StefaniOSApps opened 3 years ago

StefaniOSApps commented 3 years ago

Thanks for this amazing framework ✌️.

Well, my request relates to the framework Charts which is very popular with more than 20k stars.

With the latest version, this framework has been integrated via SPM. However, this framework does not support CocoPods here. As a result, this popular framework can no longer be installed via Cocoapods.

I would therefore wish that this framework could also be integrated via CocoaPods.

ByCyril commented 3 years ago

Any updates on this issue?

lorentey commented 2 years ago

We currently provide full support for building this package with the Swift Package Manager and Xcode, and we're open to adding limited support for CMake (only for bootstrapping purposes within the Swift project, not for general use).

We have no plans to support additional build systems or package managers.

If these don't fit your use case, one option is to vendor the modules you need within your own project. (As always, make sure you follow the conditions of the license.)

jshier commented 2 years ago

I've published a SwiftAlgorithms pod which can be used with import Algorithms. It includes everything in the library except the RandomSample algorithms due to a dependency on swift-numerics which I haven't yet solved. I'll try to track any tag updates on timely basis.