Mischa Hildebrand
Mischa Hildebrand
I wouldn't recommend invalidating the layout in `viewDidLayoutSubviews()`. That method is called when the view has just _finished its layout_. Invalidating the collection view's layout at that point might trigger...
I honestly don't know. But I'm always open to suggestions! The problem is the following: The workflow of `AlignedCollectionViewFlowLayout` is that it asks its superclass (`UICollectionViewFlowLayout`) for layout attributes (those...
### 💡 Hint: You can try the following to fix this issue: 1. As the last step in your `viewDidLoad()` method (and subsequently whenever you changed the size of your...
That's a good observation! Thanks for reporting this! I hadn't noticed that it doesn't work with interitem / line spacings of 0. However, this is not the only place where...
By the way: I think, it's a rounding bug because the documentation of the `intersects(_:)` function itself states: > The first rectangle intersects the second if the intersection of the...
That's definitely a bug. Obviously, it's _not_ okay to force-unwrap here as the comment says... 😂 **Can you post the call stack when it crashes?** One thing that seems awkward...
I know but from my experience the concrete value you set for the estimated item size does have an influence on the layout process, even though, ideally, it shouldn't. I...
@pquy1008: Can you provide a sample project where the crash occurs? And does it also occur on the simulator for iPhone X? I can't reproduce it. :-| The stacktrace of...
@AlexGee17: Any progress with the sample project?
I can reproduce this issue reliably. For me, it only occurs when having multiple windows grouped and then trying to move one of those windows to the left edge of...