tristanlabelle / swift-winrt

A Swift Projection for WinRT APIs
MIT License
19 stars 2 forks source link

Provide helpers to bridge Windows.Foundation.Collections and Swift collections #26

Open tristanlabelle opened 11 months ago

tristanlabelle commented 7 months ago

Started in https://github.com/tristanlabelle/swift-winrt/pull/99

tristanlabelle commented 6 months ago

It turns out supporting a conversion from Swift.Array<Element> to IVector<Element> in the support module might not be feasible. Trying to summarize:

Maybe this is implementable with a class ArrayVector<IVectorProjection, IIterableProjection>: WinRTExport<IInspectableProjection>