flowkey / UIKit-cross-platform

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

Update to Swift 4.1 #201

Closed ephemer closed 6 years ago

ephemer commented 6 years ago

Type of change: toolchain update

Motivation

We want to be able to use the same version of Swift in Xcode and for our Android development.

With this in mind we have cleaned up NSAttributedStringKey, which now works as it does on macOS (e.g. reliably allowing multiple attributes).

I have also linked a small change in SwiftJNI that works around an annoying state of being where our toolchain's Dispatch implementation has no real main queue until you enable it specifically. Hopefully we can build dispatch again ourselves soon and this change can go.