BoltsFramework / Bolts-Swift

Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
Other
1.32k stars 123 forks source link

Swift 4 update #61

Closed vitaliikuzmenko closed 6 years ago

vitaliikuzmenko commented 7 years ago

Hi, @nlutsenko. Are you planning to deploy an update for swift4? Have some troubles and getting a swift compile error.

akwilliamson commented 6 years ago

Has this project been abandoned? It sure seems like it

nlutsenko commented 6 years ago

Abandoned - no. Me not having spare cycles to update it for Swift 4 - yes. Bare with me folks, it's coming... Also, if anyone wants to take a stab at it - I'll gladly review the PR.

akwilliamson commented 6 years ago

I submitted a PR with Swift 4.0 updates

akwilliamson commented 6 years ago

@nlutsenko

randomiser commented 6 years ago

Any chance we can get the cocoapod updated so we can use this change?

addisonElliott commented 6 years ago

I second @randomiser 's answer.

For those that cannot wait, you can use this in your pod file and it will work:

pod 'Bolts-Swift', :git => 'https://github.com/BoltsFramework/Bolts-Swift.git' 
randomiser commented 6 years ago

For those looking for an awesome alternative I'd recommend:

https://github.com/khanlou/Promise

Tiny codebase, extremely well architected, and includes support for retries, race, delay, timeouts, etc.

addisonElliott commented 6 years ago

@randomiser Will take a look at it! Is there an Android port?

It seems the accepted method of asynchronous on Android and iOS is Rx. The goal someday is to hopefully port Parse libraries over to this on these two platforms

randomiser commented 6 years ago

@addisonElliott Not that I know of.