Giter Site home page Giter Site logo

picokit's Issues

xml dateTime gives an empty NSDate object

Hi,

The following Xml is what I get in response:

<EventTime>2016-02-05T00:00:00</EventTime>

And looking at the responseObject, I can see that the property "_eventTime" is set to a NSDate type. However, it is always nil. Is there a problem with the string to date converter?

AFNetworking upgrade to 4.0.1

UiWebView is deprecated and was part of the AFNetworking pod v.2.6.0. The AFNetworking was upgraded to 4.0.1 (version 4.0.0 stops using the UIWebView), but PicoKit only works with 2.6.0. I forked this pod and tried to integrate it with the latest AFNetworking, but I found out it won't be that easy because since 2.11.2015 (AFNetworking/AFNetworking@01f6aed) the support of AFNetworking for NSURLConnection ended. Only NSURLSession can be used.
Now I have two options: either upgrade this lib to use NSURLSession (but I'm complete newbie to objectiveC) or use different pod.

@maxep Is it even possible to make this pod use NSURLSession? Thanks

got empty response

I usepod install to run whole workspace, and all failed.

Printing description of error:
Error Domain=com.leansoft.pico Code=-1000 
"Empty response" UserInfo=0x7fb0e96161a0 
{NSLocalizedDescription=Empty response}

and I run the original pico example projects, all good, so I think it might be the AFNetworking version issue, then remove the pod files and add the AF directory copied from examples manually, it worked.

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.