apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tvOS support

Thomas-Vos opened this issue · comments

Describe the bug
I am unable to include this in a tvOS target. See screenshot for details:
Screenshot 2020-04-27 at 20 14 44

To Reproduce
Steps to reproduce the behaviour:
Open the attached sample project and try to run it on a tvOS simulator.
AsCollectionViewTvOsSample.zip

Expected behaviour
No errors

Xcode Version:

  • Version 11.4.1 (11E503a)

Simulator, Device, Both?

  • I only tried this on a simulator

@Thomas-Vos this is due to the unavailability of many UICollectionView APIs on tvOS. You could get this to work by going through and using #if available checks to disable those on tvOS.

Closing for now as we are unlikely to pursue tvOS support. Would be very welcoming to a PR if someone adds support :)