Latest 4.0.0-rc.1
License MIT
Platforms ios 8.0, osx 10.10, watchos 2.0, tvos 9.0
Authors ,


Deferred lets you work with values that haven’t been determined yet, like an array that’s coming later (one day!) from a web service call. It was originally inspired by OCaml’s Deferred library.

Deferred is a "futures library", probably like ones you’ve already heard about. Where Deferred aims to be different is by providing a small, efficient API that’s easily adopted in our many consulting projects.

Vital Statistics
Requires Swift 4.1 or greater
Under MIT License
Travis CI
Swift Package Manager

Don’t Panic!

See Deferred’s comprehensive programming guide and documentation at the Deferred Reference.

If you have a question not answered by the guide or the module comments, please open an issue!

Need Some Help?

Deferred, as an open source project, is free to use and always will be. Big Nerd Ranch offers help for Deferred, Code Audits, and general mobile app design/development services. Email us at [email protected] to get in touch with us for more details.

Latest podspec

    "name": "BNRDeferred",
    "version": "4.0.0-rc.1",
    "summary": "Work with values that haven't been determined yet.",
    "description": "Deferred is an asynchronous promise-style API that can be used as annalternative to the "block callback" pattern. It lets you work with values thatnhaven't been determined yet, like an array that's coming later (one day!) fromna web service call. It was originally inspired by OCaml's Deferred library.",
    "homepage": "",
    "documentation_url": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Zachary Waldowski": "[email protected]",
        "Big Nerd Ranch": null
    "social_media_url": "",
    "swift_version": "4.1",
    "cocoapods_version": ">=1.1.0",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "watchos": "2.0",
        "tvos": "9.0"
    "source": {
        "git": "",
        "tag": "4.0.0-rc.1"
    "source_files": "Sources/**/*.swift",
    "preserve_paths": "Sources/Atomics",
    "module_name": "Deferred",
    "pod_target_xcconfig": {
        "SWIFT_INCLUDE_PATHS": "$(PODS_TARGET_SRCROOT)/Sources/Atomics/include"

Pin It on Pinterest

Share This