Git Product home page Git Product logo

Comments (3)

dautermann avatar dautermann commented on August 16, 2024

I've seen (and jumped over) the same issue as you. Any table with over 1500 images and ELCImagePickerController crashes.

Since I'm trying to get more involved in GitHub, I've just forked ELCImagePickerController and will attempt to check-in modified source code that will get you (and anyone else who is hitting this problem) over the finish line.

from elcimagepickercontroller.

dautermann avatar dautermann commented on August 16, 2024

Okay Dale! I've managed to check in my changes (and I may document them a bit better over the rest of this weekend).

The two big changes in my branch are:

  1. In ELCAsset.m, I'm now explicitly resizing the thumbnail image with some helper categories instead of using the memory hog [ALAsset thumbnail] method

  2. Instead of depending on auto-released ELCAssetCells (which may or may not get unexpectedly released when ELCImagePicker receives a memory warning, which happens with huge albums), I now keep & retain my ELCAssetCells in a NSMutableArray.

And of course you'll probably see a few other enhancements in my code as well.

Let me know if this helps you somewhat.

And if it does, maybe we can mark the issue as "closed" (unless the Collin & the ELC people want to incorporate these changes).

from elcimagepickercontroller.

jvanmetre avatar jvanmetre commented on August 16, 2024

I have gone ahead an implemented a better solution than the what existed previously here, and am reusing the uiimageviews in the tableviewcells as should have been done originally. Versions > 2ac497e (0.0.4) contain this.

from elcimagepickercontroller.

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.