CombineCocoa icon indicating copy to clipboard operation
CombineCocoa copied to clipboard

tvOS support

Open RomanPodymov opened this issue 3 years ago • 6 comments

Hello. Thank you for CombineCocoa. CombineCocoa now supports tvOS.

RomanPodymov avatar Sep 12 '22 13:09 RomanPodymov

Hello @freak4pc Any updates?

RomanPodymov avatar Jul 20 '23 05:07 RomanPodymov

+1

markst avatar Aug 31 '23 04:08 markst

Would be cool to add: https://developer.apple.com/documentation/uikit/uicollectionviewdelegate/1618081-collectionview

markst avatar Nov 17 '23 02:11 markst

Would be cool to add: https://developer.apple.com/documentation/uikit/uicollectionviewdelegate/1618081-collectionview

Hello @markst First of all we need to merge this pull request.

RomanPodymov avatar Nov 17 '23 12:11 RomanPodymov

FYI, this PR has not been properly tested and is not working on tvOS as expected. I found that UIButton.tapPublisher is not functioning.

Probably more issues will arise.

batkov avatar Mar 23 '24 10:03 batkov

I found that UIButton.tapPublisher is not functioning.

You shouldn't be using "UIControlEvents.TouchUpInside" on tvOS, since that doesn't do what you might expect: you probably want to use "UIControlEvents.PrimaryActionTriggered" instead.

TouchUpInside is triggered by actual touches, which isn't really what you wanted here: if you want the Select button press on the remote to trigger your button, you should use PrimaryActionTriggered.

markst avatar Apr 09 '24 03:04 markst