Coder Social home page Coder Social logo

alamofire-gloss's People

Contributors

sebavenditti avatar spxrogers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alamofire-gloss's Issues

Update to Gloss 2.0

Update to Gloss 2.0, current version have the following issue
Error:(76, 63) initializer 'init()' is internal and cannot be referenced from a default argument value
Error:(38, 52) initializer 'init()' is internal and cannot be referenced from a default argument value
Error:(46, 124) initializer 'init()' is internal and cannot be referenced from a default argument value

EDIT:
🤔
You already updated to gloss 2.0 but current pod 'Alamofire-Gloss' is downloading version Alamofire-Gloss (2.1.0) instead of last version

EDIT2:
Found solution:

pod install --repo-update

serialize encrypted data!

hi
i get my data from our server as aes encrypted json.
how i can use your class to serialize encrypted data?
i can decrypt my data to normal json,bot how i can send my data after deycrypt them?!

sorry for bad english :(

Log:
Response serialization failed: JSON could not be serialized because of error: The operation couldn’t be completed. (Alamofire+Gloss error -1.) Failure Reason: jsonSerializationFailed(Error Domain=Alamofire+Gloss Code=-1 "(null)"

and part of code:

` Alamofire.request(request)

        .validate(statusCode: 200 ..< 300)
        .responseObject(T.self) { (response) in
            switch response.result {
            case .success(let response):
                
                completion(response, nil)
            case .failure(let error):
                print("Error'd: \(error)")`

Cannot find the responseObject function

I installed this package using Carthage and Xcode has no errors until I try to build and it says:

Value of type 'DataRequest' has no member 'responseObject'

I'm not sure what I'm missing, I linked all three libraries from the output of Carthage:
image
image

Generic parameter 'T' could not be inferred

I am getting error "Generic parameter 'T' could not be inferred" in below line .

self.sections = Decoder.decode(decodableArrayForKey: "sections")(json)

Any guess how to fixed that. I am using Xcode 9.

Alamofire+Gloss error -1

I've been trying to serialise a JSON array from the server, and have come across the error as titled in the subject.

To be more specific, I get the following:

"JSON could not be serialized because of error:
The operation couldn’t be completed. (Alamofire+Gloss error -1.)"

Had a look at the documentation, but couldn't really see anything that would tell me why the error is occurring, or what it means, - wondering if you could guide me in the right direction?

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.