julasamer
julasamer
@mrylmz: That's the API I used. You have to pass something to the `in` parameter though. That's where the `GKMersenneTwisterRandomSource` comes in: a seedable RNG. The Swift random API itself...
It's been a long time, but here's a pull request: https://github.com/vadymmarkov/Fakery/pull/148
Thanks! I just kinda assumed that the spec would be generated in the OpenAPI project, my bad. I followed your advice and set the encoders/decoders; that does change the type...
There's actually a secondary problem with that: If you call `register(scrollView:)` twice (with a different scroll view handler), the synchronisation done by the first handler will stop working. Obviously because...
I made another discovery: SwiftUI already sets a delegate on `UIScrollView` called `SwiftUI.ScrollViewHelper`. I didn't find any public documentation on what that does, but just overwriting it probably breaks something.
I've implemented a solution; maybe I have time to create a pull request later in the evening. It doesn't help if someone else sets the delegate later on though, but...
Took me a day longer, but I've submitted my pull request. By the way, the reason why I started to investigate is because of my use case: I basically have...