Latest 0.1.9
Homepage https://github.com/schrockblock/funky-network
License MIT
Platforms ios 8.0
Dependencies ReactiveSwift, OHHTTPStubs/Swift, Prelude
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

Checkout the tests to get started!

The example project also has some good stuff. LoginNetworkCall shows how you can send, receive, and parse json with this library and Eson (a different pod I wrote). AuthenticatedNetworkCall shows how you can alter the headers and most other things in this pod.

Advantages

  1. Functional code!
  2. Modular! Using subclassing and having one call per class makes it really easy to take calls with you between controllers, view models, or even projects.
  3. Lightweight! Only a few classes here, and none terribly long or involved.
  4. Convenient! Smart defaults make things easy to work with out of the box.
  5. Flexible! Since everything is broken up into tiny pieces, it’s easy to swap things out, or mix and match.
  6. Testable! Easily stub your calls so you can quickly reproduce tricky edge cases.

Installation

FunkyNetwork is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'FunkyNetwork', git: 'https://github.com/schrockblock/funky-network.git'

Author

Elliot Schrock

License

FunkyNetwork is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FunkyNetwork",
    "version": "0.1.9",
    "summary": "FunkyNetwork provides a foundation for reusable functional networking in Swift.",
    "description": "FunkyNetwork provides a foundation for reusable functional networking in Swift. It harnesses inheritance to make adding new capabilities to a simple set of networking classes easy and fast, while pushing side effects to the boundaries of the implementation.",
    "homepage": "https://github.com/schrockblock/funky-network",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Elliot": ""
    },
    "source": {
        "git": "https://github.com/schrockblock/funky-network.git",
        "tag": "0.1.9"
    },
    "social_media_url": "https://twitter.com/elliot_schrock",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "FunkyNetwork/Classes/**/*",
    "dependencies": {
        "ReactiveSwift": [],
        "OHHTTPStubs/Swift": [],
        "Prelude": [
            "~> 3.0"
        ]
    }
}

Pin It on Pinterest

Share This