panelkit icon indicating copy to clipboard operation
panelkit copied to clipboard

Can I present it as a form sheet view controller and use resize to present it as full screen ?

Open sriteja25 opened this issue 6 years ago • 3 comments

I have a view and I want to switch between form sheet or half screen view and on a button tap or on resize handler press I want to present it as Full screen view controller.

Is it possible ?

sriteja25 avatar Apr 25 '18 03:04 sriteja25

That's tricky, but a similar feature is included in OpenTerm: switching between floating mode and full screen. Here's the source code, which may help you with what you're trying to do: https://github.com/louisdh/terminal/blob/master/OpenTerm/Controller/Scripting/ScriptsViewController.swift#L123

louisdh avatar Apr 25 '18 19:04 louisdh

Oh thanks for pointing it out, just checked it. I see that you are maintaining the repo, great job.

Looks a bit complicated, can you help me out with a small example or such ?

sriteja25 avatar Apr 25 '18 20:04 sriteja25

@louisdh I can't seem to get the example provided to work for my application, would love to see this become a feature!

LachlanGrant avatar May 11 '18 12:05 LachlanGrant