You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, thanks for great lib. Found an crash under ASCollectionNode during performBatchUpdates insert statement if there is no preferredSize specified.
Issue I was facing was that I needed to return one empty ASCellNode and I was returning it as return ASCellNode()
this was creating a crash that you can see at screenshot. After moving this code to snippet below, everything seems to work fine. let node: ASCellNode = ASCellNode() node.style.preferredSize = UIScreen.main.bounds.size return node
Don't know if this is intended behaviour or not, but this one cost me some time. Hope this helps someone. Maybe putting some info on this one, or something similar.
If you need more info let me know. Credit for fix goes to ypogribnyi on Slack.
The text was updated successfully, but these errors were encountered:
Hi @ibarisic05 thanks for the issue report! This was resolved in #348 by suppressing main-thread assertions during -debugDescription. Hope to see you around more!
Hi all, thanks for great lib. Found an crash under ASCollectionNode during performBatchUpdates insert statement if there is no preferredSize specified.
Issue I was facing was that I needed to return one empty ASCellNode and I was returning it as
return ASCellNode()
this was creating a crash that you can see at screenshot. After moving this code to snippet below, everything seems to work fine.
let node: ASCellNode = ASCellNode() node.style.preferredSize = UIScreen.main.bounds.size return node
Don't know if this is intended behaviour or not, but this one cost me some time. Hope this helps someone. Maybe putting some info on this one, or something similar.
If you need more info let me know. Credit for fix goes to ypogribnyi on Slack.
The text was updated successfully, but these errors were encountered: