Git Product home page Git Product logo

Comments (8)

creatd avatar creatd commented on August 21, 2024

I can't tell if my problem is related but I'm having memory access crashes with the imageLoaded callback. When I debug, I can see all variables are there (connection.target, connection.success, image, connection.URL) but in the next step, when setImage is called, it crashes and the image seems nil (although I don't know why a nil image would cause this problem). I feel like the block gets dealloc'ed.

Important note, I get this behaviour only on the newest iPad's running iOS 7.0.3

from asyncimageview.

nicklockwood avatar nicklockwood commented on August 21, 2024

I haven't updated or tested AsyncImageView for a while, so there may be issues with iOS 7. I'll see if I can reproduce this, but I suggest switching to my FXImageView library instead if you can, as it has a more modern implementation and supports most of the same features.

from asyncimageview.

creatd avatar creatd commented on August 21, 2024

Thanks Nick, that's what I did (and haven't had a chance to test it yet, will do tomorrow). Thanks so much, I'm a big fan of your libraries (especially iCarousel)

from asyncimageview.

creatd avatar creatd commented on August 21, 2024

I can confirm the issue is abundant in FXImageView

from asyncimageview.

nicklockwood avatar nicklockwood commented on August 21, 2024

Do you have a crash trace for FXImageView as well? The one you posted for AsyncImageView seems to be related to KVO, which isn't used in FXImageView.

from asyncimageview.

creatd avatar creatd commented on August 21, 2024

Sorry @nicklockwood , I don't how I made this mistake but I was trying to say FXImageView does NOT have this problem :)

from asyncimageview.

nicklockwood avatar nicklockwood commented on August 21, 2024

Ah, OK. Phew :-)

from asyncimageview.

nicklockwood avatar nicklockwood commented on August 21, 2024

I think this was due to a mismatch in the selector signature between when the image was already in cache and when it wasn't. I've fixed this in 1.5.1.

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.