flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
595 stars 40 forks source link

Add iOS Polyfills + instructions for them to the repo #261

Closed janek closed 5 years ago

janek commented 5 years ago

Type of change: feature

Motivation (current vs expected behavior)

Currently, UIButtons and UITapGestureRecognizers will not work out-of-the-box. Button+iOS.swift and UIGestureRecognizer+Closures.swift are required for projects that use them. This PR adds those files along with a short explanation of what they are/how to use them.

Please check if the PR fulfills these requirements