OverlayViewController icon indicating copy to clipboard operation
OverlayViewController copied to clipboard

can specify position

Open evermeer opened this issue 6 years ago • 1 comments

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.

evermeer avatar Apr 01 '18 08:04 evermeer

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.

evermeer avatar Apr 02 '18 07:04 evermeer