Code Monkey home page Code Monkey logo

Comments (5)

appleguy avatar appleguy commented on May 30, 2024

Yes, absolutely. It's a good call to mention updating separate from editing—we should be able to pipe through a reloadRowAtIndexPath: method very soon (maybe today). Editing is a bit harder but still very feasible once time is available (any diffs related to this would be very helpful).

from asyncdisplaykit.

secretiverhyme avatar secretiverhyme commented on May 30, 2024

#31 tracks update methods — let's use this issue to track cell resizing.

from asyncdisplaykit.

ioliverm avatar ioliverm commented on May 30, 2024

Hi! Is reloadRowAtIndexPath already available? I'd love to have this feature; in my case, my tables load asynchronously: first, a list of elements to be shown is received from the server (only an index of them), and at this moment I show cells in "loading" state. Then, every cell controller triggers loading the element details from the server, at which point I need to reload the row to show the details. I'm migrating my app to use ASDicplayKit (I think that's great!) but right now I'm forced to call in the main thread the measure method of the cell when I have all the details to be shown, due to restrictions in how ASDisplayNode asserts work (the cell exists, and it's view is already loaded, so I can only recalculate it in the main thread)

from asyncdisplaykit.

secretiverhyme avatar secretiverhyme commented on May 30, 2024

Hi! Is reloadRowAtIndexPath already available?

@nguyenhuy implemented this in #122, but we're holding off on merging it until @tanliboy's refactor is ready to go. In the meantime, you can patch the pull request into your local copy of ASDK. =]

but right now I'm forced to call in the main thread the measure method of the cell when I have all the details to be shown, due to restrictions in how ASDisplayNode asserts work

Thanks for calling this out! We're taking everyone's feedback and looking into changing this for the ASDK 1.2 release (#134).

from asyncdisplaykit.

secretiverhyme avatar secretiverhyme commented on May 30, 2024

We're tackling all editing / update improvements in one fell swoop, so I'll close this in favour of #31.

from asyncdisplaykit.

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.