zenangst / Spots

:bamboo: Spots is a cross-platform view controller framework for building component-based UIs
Other
1.31k stars 72 forks source link

Compatibility with Swift 4.1 #835

Closed abbasmousavi closed 6 years ago

abbasmousavi commented 6 years ago

It seems that Swift 4.1 treats tuple more strictly, so the current version does not compiles on Swift 4.1. This pull request makes it compile with swift 4.1

onmyway133 commented 6 years ago

@abbasmousavi Hi, many thanks for the PR. We've done a thorough fixes for Swift 4.1 here https://github.com/hyperoslo/Spots/pull/837.

For now, there's some problem on master, so you can use a previous version here https://github.com/hyperoslo/Spots/pull/839