GithubHelp home page GithubHelp logo

Examples Don't Work about restkit HOT 6 CLOSED

restkit avatar restkit commented on July 19, 2024
Examples Don't Work

from restkit.

Comments (6)

blakewatters avatar blakewatters commented on July 19, 2024

Hi David -

I've taken a look and figured out the issue. Last week I merged down a branch and neglected to update the sample apps appropriately. The crash is now fixed if you do a pull -- we introduced a queue that is responsible for managing memory of object loaders, so the sample app was over-releasing an object & causing the crash.

The error you pasted is from a race condition with our new integration with SystemConfiguration Reachability. The problem is the views are firing requests before the reachability has determined network status. If you pull now, the core data example will work because of the reload button. I am still getting errors on the transient object version, but am working on a fix now.

from restkit.

DavidBoyes avatar DavidBoyes commented on July 19, 2024

Hey,

Thanks for looking into it, still having the same issues after pulling the latest changes. That is, loading the Twitter CoreData example application and having it crash with the same error as in the original message when hitting the reload button.

from restkit.

blakewatters avatar blakewatters commented on July 19, 2024

Doh! I forgot to push the last round of changes last night. Perils of working tired. Give it a pull now.

from restkit.

DavidBoyes avatar DavidBoyes commented on July 19, 2024

Hmm, it doesn't crash anymore but I still receive an alert about no being able to contact the resource. This is in the CoreData example after hitting the reload button.

from restkit.

blakewatters avatar blakewatters commented on July 19, 2024

David -

We found and just pushed a fix for a bug where a full URL was making it into Reachability instead of just a hostname. I believe this is the cause of your issue. Please do another pull and see if this takes care of you.

Best,
Blake

from restkit.

DavidBoyes avatar DavidBoyes commented on July 19, 2024

That was it! Cheers.

from restkit.

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.