Post

Replies

Boosts

Views

Activity

Reply to NSISEngine Auto Layout Crash (Not possible to remove variable)
For anyone facing the same problem, the issue lies in NSLayoutConstraint's multiplier factor. For me, I was applying the width anchor(for the parent stackView) programatically at runtime whose multiplier was calculated(based on some logic), at runtime, to be 0.3333333333333333 which was messing up the Auto Layout engine calculations when reusing the cells(I have a collectionView and each cell has a stackView, the parent stackView I mentioned above). So I used this logic to reduce the precision from 0.3333333333333333 to 0.333984375 and Auto Layout was happy and no more crashes
Mar ’23