Latest 2.1.5
Homepage https://github.com/fellipecaetano/Wolf
License MIT
Platforms ios 9.0, requires ARC
Authors

CI Status
Version
License
Platform

Wolf approaches networking by bringing together the battle experience of Alamofire and the flexible power of Swift protocols. It enables developers to fully describe HTTP resources and it derives all HTTP communications out of those descriptions. Support for caching and JSON comes out of the box.

Contents

Example

Inside the Example directory you will find a sample application that presents a grid of popular TV shows, demonstrating how everything works together. To run it:

  1. Clone the repository
  2. Enter the Example directory
  3. Open the Wolf.xcworkspace file in Xcode 8.0
  4. Select the Wolf-Example target in the target selection dropdown near the Stop button
  5. Build and run the application

Testing

Inside the Example directory you will find a project holding the tests for Wolf. To run them:

  1. Clone the repository
  2. Enter the Example directory
  3. Open the Wolf.xcworkspace file in Xcode 8.0
  4. Select the Wolf-Example target in the target selection dropdown near the Stop button
  5. Press ⌘U or click Test from the Product menu

Requirements

  • iOS 9.0+
  • Xcode 8.0+

Installation

CocoaPods

Wolf is available through CocoaPods, a dependency manager for Cocoa projects. CocoaPods can be downloaded as a stand-alone app and can also be installed through RubyGems:

$ gem install cocoapods

To integrate Wolf into your Xcode project using CocoaPods, specify it in your Podfile:

target '<target_name>' do
  pod 'Wolf'
end

Then, install your dependencies through the CocoaPods app or by running the following command in the same directory as your Podfile:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following commands:

$ brew update
$ brew install carthage

To integrate Wolf into your Xcode project using Carthage, specify it in your Cartfile:

github "fellipecaetano/Wolf"

Run carthage update to build the framework and drag the built Wolf.framework into your Xcode project.

Author

Fellipe Caetano, [email protected]

License

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

Latest podspec

{
    "name": "Wolf",
    "version": "2.1.5",
    "summary": "An opinionated, protocol-oriented networking layer.",
    "description": "Wolf approaches networking by bringing together the battle experience of Alamofire and the flexible power of Swift protocols.",
    "homepage": "https://github.com/fellipecaetano/Wolf",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Fellipe Caetano": "[email protected]"
    },
    "source": {
        "git": "https://github.com/fellipecaetano/Wolf.git",
        "tag": "2.1.5"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "default_subspecs": "Basic",
    "pushed_with_swift_version": "3.0n",
    "subspecs": [
        {
            "name": "Basic",
            "source_files": [
                "Source/**/*.swift"
            ],
            "dependencies": {
                "Alamofire": [
                    "~> 4.1"
                ],
                "PromiseKit": [
                    "~> 4.0"
                ]
            },
            "exclude_files": [
                "Source/Unbox/**/*"
            ]
        },
        {
            "name": "Unbox",
            "source_files": [
                "Source/**/*.swift"
            ],
            "dependencies": {
                "Alamofire": [
                    "~> 4.1"
                ],
                "PromiseKit": [
                    "~> 4.0"
                ],
                "Unbox": [
                    "~> 2.2"
                ]
            }
        }
    ]
}

Pin It on Pinterest

Share This