This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
[ASDisplayNode] Expose already-implemented asynchronous measurement method. #829
Labels
Milestone
A method exists in ASDisplayNode that's actually not called right now: _enqueueAsyncSizingWithSentinel.
This should be used (or removed), and one use case would be ASViewController if a developer indicated they wanted the ASVC to begin preparing its content before it's onscreen so that layout doesn't block. This ASVC functionality wouldn't be that difficult to implement, but requires thinking carefully about the API; there are at least three types of preloading that would make sense to trigger, including network-only fetches, layout measurement, and doing both of those + full rendering pass.
The text was updated successfully, but these errors were encountered: