Commit Graph

4 Commits

Author SHA1 Message Date
Max Howell
7d61133ebb
Use Swift 5’s Result 2019-04-07 16:13:03 -04:00
Max Howell
a484e750e4
v7 initial changes
* Swift 5 only
* No ObjC
* No deprecations
* No submodules
* Uses SwiftPM to generate an `.xcodeproj`
2019-04-07 16:12:27 -04:00
Max Howell
1339ca0695 Rewrite AnyPromise to use composition
Our existing hack broke the new Xcode build system (see #724).

Also, CocoaPods 1.4 didn’t like it.

So I had to rewrite with composition instead adding additional methods via an objc category.

The cause of the issue was that the framework required that the -Swift.h file be generated before the objc portions were built (since the objc extended the swift portion), and neither build system guarantees this.

All tests pass. However it is not as efficient as before. Could use some optimizations.
2018-02-12 15:27:50 -05:00
Max Howell
47367f1df6 5.0.0 2017-11-06 09:27:11 -05:00