flowkey / UIKit-cross-platform

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

Fix build for macOS with XCode 13 #339

Closed rikner closed 2 years ago

rikner commented 2 years ago

Fixes #

Type of change:

Motivation (current vs expected behavior)

Got some compiler errors when building for macOS with XCode13. For some reason importing the whole Foundation module instead of just the required functions fixes the issue.

Screenshot 2021-09-29 at 13 34 05 Screenshot 2021-09-29 at 13 14 31

Please check if the PR fulfills these requirements