Skip to content

pogramos/Wolf

 
 

Repository files navigation

Wolf

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, fellipe.caetano4@gmail.com

License

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

About

An opinionated, protocol-oriented networking layer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.3%
  • Ruby 2.4%
  • Objective-C 1.3%