Git Product home page Git Product logo

Comments (4)

nicklockwood avatar nicklockwood commented on July 20, 2024

I see you've closed the issue - did you manage to fix it?

from asyncimageview.

jogi avatar jogi commented on July 20, 2024

Well there was nothing to fix because I was supplying the wrong imageURL. To reproduce, try this URL - http://chart.apis.google.com/chart?chs=300x300&cht=qr&chl={%22ssid%22:%22connect+me+if+you+can%22,%22secret%22:%22secret%22,%22security%22:%22WPA/WPA2%22}

upon using this url the view hangs. May be there is something that needs to be fixed.

from asyncimageview.

nicklockwood avatar nicklockwood commented on July 20, 2024

This works for me, although I'm not sure if I fixed something without realising it. When I tried copying and pasting the URL directly into code it returned a nil NSURL, suggesting that it is malformed somehow, but when I put it into Safari and then copied it out again it worked fine.

Anyway, In the latest build I've added a demo app that lets you easily test out URLs by adding them to a plist. Invalid URLs should fail gracefully, but if you find that you can hang the demo app, let me know.

from asyncimageview.

jogi avatar jogi commented on July 20, 2024

I found the issue. The original URL has { in the url which is considered invalid. After pasting it into Safari, Safari changed it to %7B% and thats the reason it worked after copying-pasting the url back from Safari. Thanks! :)

from asyncimageview.

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.