Giter VIP home page Giter VIP logo

alamofire-swiftyjson's Introduction

Alamofire-SwiftyJSON

An extension to make serializing Alamofire's response with SwiftyJSON easily.

⚠️ To use with Swift 3.x please ensure you are using >= 2.0.0 ⚠️

⚠️ To use with Swift 4.x please ensure you are using >= 3.0.0 ⚠️

Swift version

Alamofire-SwiftyJSON Swift version Alamofire SwiftyJSON
2.x Swift 3.x 4.x 3.x
3.x Swift 4.x 4.5.x 4.x

Requirements

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 8.0+
  • Swift 3.0+

Install

CocoaPods:

pod 'Alamofire-SwiftyJSON'

Carthage:

github "SwiftyJSON/Alamofire-SwiftyJSON" "master"

Usage

import Alamofire_SwiftyJSON
Alamofire.request(URL, method: .get, parameters: parameters, encoding: URLEncoding.default)
         .responseSwiftyJSON { dataResponse in
                     print(dataResponse.request)
                     print(dataResponse.response)
                     print(dataResponse.error)
                     print(dataResponse.value)
                  })

alamofire-swiftyjson's People

Contributors

endel avatar jregnauld avatar luketangpl avatar nubek avatar perryprog avatar rnitta avatar rokgregoric avatar rromanchuk avatar thomasdegry avatar trungungtoan-agilityio avatar wongzigii avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.