OverlayViewController
OverlayViewController copied to clipboard
can specify position
I wanted to be able to specify the position of the overlay. I also wanted to be able to change position and size after the view controller was initialized.
Since I wanted to be able to change the values the properties need to have a get and set. It's not possible to add a stored property via a protocol extension. So you can't have a default implementation. Maybe you could switch to a base class that implements the protocol?
Since this code is not published as a library, and I have just created a copy of your code, you could als just close this PR and implement something like this in the way that you want.