Latest 0.1.2
Homepage https://github.com/borchero/CorePromises
License MIT
Platforms ios 8.0
Dependencies Alamofire
Frameworks UIKit
Authors

CorePromises is a framework that tries to bring Javascript’s promises as described in the A+ specification to Swift.

The framework is fully up to date for Swift 4 as of Xcode 9 Beta 2.

Usage

CorePromises can be used with CocoaPods: simply add CorePromises to your podfile. It is, however, advisable to copy the files into your project (especially if you encounter any problems regarding performance) to make use of generic specialization (that is currently not enabled for external frameworks). This may speed up your program significantly.

The current implementation is not thread-safe, so be sure to only use Promises on a single thread.

Documentation

A documentation will be added in the future.

Latest podspec

{
    "name": "CorePromises",
    "version": "0.1.2",
    "summary": "CorePromises is an attempt to bring Javascript's promises asn                        described in the A+ specification to Swift.",
    "description": "CorePromises makes heavy use of generics to bring promises to iOS, combiningn                        the beauty of promises with Swift's typechecking.",
    "homepage": "https://github.com/borchero/CorePromises",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "borchero": "[email protected]"
    },
    "source": {
        "git": "https://github.com/borchero/CorePromises.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CorePromises/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "Alamofire": [
            "~> 4.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This