louisdh / panelkit

A UI framework that enables panels on iOS.
MIT License
3.79k stars 160 forks source link

Close single panel? #14

Closed barrettj closed 6 years ago

barrettj commented 6 years ago

The close method on PanelManager isn't public so I can't choose to close an individual panel (for example allowing a user to close a floating or pinned panel by pressing the UI button that displayed it, ie having that button be a toggle for displaying the panel).

louisdh commented 6 years ago

Thanks for reporting this issue. I'll add a public API to close panels in v2.0.

louisdh commented 6 years ago

Fixed by d350bb502cec84ed4ea5b6bd5b00f2eefcbc45f5, will ship in v2.0.