Comments (5)
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.
#31 tracks update methods — let's use this issue to track cell resizing.
from asyncdisplaykit.
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.
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.
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)
- Custom flow layout did not work in ASCollectionNode ,But work in UICollectionView
- Build failed with XCode Version 9.3 (9E145) HOT 12
- How to reload SupplementaryElement (UICollectionElementKindSectionHeader)
- [ASTableNode] When tableNode is reloading I see several empty rows, but they have the content
- collectionNode always lost several cells and give me some blank cells HOT 1
- Change maximumNumberOfLines from 5 to 0, The text is stretched. HOT 2
- Full screen button doesn't appear on ASVideoPlayerNode HOT 2
- Dictionary Parsing Problem HOT 1
- Expected method to read dictionary element not found on object of type 'id<NSObject>' HOT 3
- I need a error log while playing ASVideoPlayerNode HOT 1
- page control HOT 1
- updateContentSize HOT 1
- ASTableNode will scroll to the top after insert rows
- enableSubtreeRasterization causes ASButtonNode to not receive touch event HOT 1
- ASButtonNode highlighted titles shifts to the right HOT 2
- CollectionNode fetches all content from NSFetchResultsController
- willDisplayNodeContentWithRenderingContext not work HOT 2
- Sometimes `ASPerformMainThreadDeallocation` does not work HOT 2
- ASTextKitContext.mm(line 62) return nil.
- How to get ASCellNode location on ASCollectionNode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncdisplaykit.