apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.
MIT License
1.36k stars 160 forks source link

Feature Request: macOS support #61

Closed jhoughjr closed 4 years ago

jhoughjr commented 4 years ago

Just importing UIKit means it won't build on Mac. It's possible conditionally importing AppKit would make it macOS compatible.

apptekstudios commented 4 years ago

ASCollectionView is compatible with Mac Catalyst apps (using UIKit) 🎉

It won’t work with AppKit without some substantial changes as that would require implementing support for NSCollectionView. This isn’t on the roadmap for us, however we would welcome a PR if anyone does implement it 👍