Giter Club home page Giter Club logo

Comments (5)

daltoniam avatar daltoniam commented on June 29, 2024

Thanks for reporting this, it was broken 😄 . I just merged the xCode 6.1 branch that had the fix in it. Let me know if that fixes the issue.

from swifthttp.

marko85to avatar marko85to commented on June 29, 2024

Thanks for the fix!

I get a new error from the following function:

func newRequest(url: NSURL, method: HTTPMethod) -> NSMutableURLRequest {
        var request = NSMutableURLRequest(URL: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
        request.HTTPMethod = method.rawValue

HTTPMethod does not have a member named 'rawValue'

Same error is found in createRequest function.

from swifthttp.

daltoniam avatar daltoniam commented on June 29, 2024

This is probably because you are still using xCode 6. xCode 6.1 was released a few days ago, and they changed the rawValue() method into a property of rawValue. Upgrading to xCode 6.1 should resolve the issue.

from swifthttp.

marko85to avatar marko85to commented on June 29, 2024

I thought it might be a problem with the version but I have already updated. It might be a problem with my machine then. Thank you very much for your support!

from swifthttp.

daltoniam avatar daltoniam commented on June 29, 2024

Welcome and thanks again!

from swifthttp.

Related Issues (20)

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.