LNPopupController

A framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps.

MIT License

Stars
3K
Committers
18

Bot releases are visible (Hide)

LNPopupController - v2.10.8

Published by LeoNatan about 4 years ago

Fixed a crash introduced by a previous release.

LNPopupController - v2.10.7

Published by LeoNatan about 4 years ago

  • More custom bar layout improvements
  • Add the ability to allow popup content controllers to embed the popup close button inside their hierarchies (for example, to support vibrancy)
LNPopupController - v2.10.6

Published by LeoNatan about 4 years ago

Improved custom bar controller layout management. The system now takes into account the translatesAutoresizingMaskIntoConstraints property of the controller's view when laying out the popup bar.

LNPopupController - v2.10.5

Published by LeoNatan about 4 years ago

Fixed a crash on operating systems lower than 13.5.

LNPopupController - v2.10.4

Published by LeoNatan about 4 years ago

  • Support SwiftUI image controllers for use with the SwiftUI-native Image type
LNPopupController - v2.10.3

Published by LeoNatan about 4 years ago

  • Additional layout improvements, fixing issues with autolayout in popup content views
  • SwiftUI interaction improvements
LNPopupController - v2.10.2

Published by LeoNatan about 4 years ago

  • Improved the drag interaction style handling
  • Layout improvements of the content view and title views in the bar
  • Popup close buttons can be configured by setting the tintColor.
LNPopupController - v2.10.1

Published by LeoNatan about 4 years ago

Fixed a layout issue that could cause constraint issues when presenting a popup content controller.

LNPopupController - v2.10.0

Published by LeoNatan about 4 years ago

LNPopupController now finally supports extending the popup bar background under the bottom safe area (to the bottom of the screen). A cool transition animation is provided when using hidesBottomBarWhenPushed with a navigation or a tab bar controller.

The new behavior is enabled by default, and is supported on iOS 11.0 and above. In some cases involving split view controllers, iOS 11 and 12 may display issues. If this is the case, disable bar extension for your scenario.

To disable popup bar extension, set shouldExtendPopupBarUnderSafeArea = false

LNPopupController - v2.9.6

Published by LeoNatan about 4 years ago

  • Improved popup bar layout in certain cases
LNPopupController - v2.9.5

Published by LeoNatan about 4 years ago

  • Fixes to safe area inset management with child view controllers
  • Progress view style is set to .bar now by default
LNPopupController - v2.9.4

Published by LeoNatan about 4 years ago

  • Layout improvements
  • View appearance of the popup content controller life-cycle improvements
  • SwiftUI improvements
LNPopupController - v2.9.2

Published by LeoNatan about 4 years ago

  • iOS 14 support (#390)
    • LNPopupController now supports iOS 11 and above (#335)
  • Added Swift Package Manager support (#387)
  • Improved popup bar presentation when the container’s view is not yet part of a window hierarchy
  • Introduced a new popup presentation delegate so it’s possible to listen to state changes (#287)
  • popupPresentationState is now KVO-compliant so it can be used to listen to state changes (#287)
  • Fixed various layout issues (#370, #381, #386)
  • Various API improvements for clarity and intent
    • The previously-deprecated previewing API has been removed
LNPopupController - v2.9.1

Published by LeoNatan about 4 years ago

  • iOS 14 support (#390)
    • LNPopupController now supports iOS 11 and above (#335)
  • Added Swift Package Manager support (#387)
  • Improved popup bar presentation when the container’s view is not yet part of a window hierarchy
  • Introduced a new popup presentation delegate so it’s possible to listen to state changes (#287)
  • popupPresentationState is now KVO-compliant so it can be used to listen to state changes (#287)
  • Fixed various layout issues (#370, #381, #386)
  • Various API improvements for clarity and intent
    • The previously-deprecated previewing API has been removed
LNPopupController - v2.9.0

Published by LeoNatan about 4 years ago

  • iOS 14 support (#390)
    • LNPopupController now supports iOS 11 and above (#335)
  • Added Swift Package Manager support (#387)
  • Improved popup bar presentation when the container’s view is not yet part of a window hierarchy
  • Introduced a new popup presentation delegate so it’s possible to listen to state changes (#287)
  • popupPresentationState is now KVO-compliant so it can be used to listen to state changes (#287)
  • Fixed various layout issues (#370, #381, #386)
  • Various API improvements for clarity and intent
    • The previously-deprecated previewing API has been removed
LNPopupController - v2.8.5

Published by LeoNatan almost 5 years ago

Fix stack overflow in status bar height logic (#366)

LNPopupController - v2.8.4

Published by LeoNatan about 5 years ago

Fixed a crash in popup bar layout (thanks @wimbledon)

LNPopupController - v2.8.3

Published by LeoNatan about 5 years ago

Fix an issue where bar button items are not tappable. (#350)

LNPopupController - v2.8.2

Published by LeoNatan about 5 years ago

  • Expose progress view as a property of the popup bar (#315)
  • Improve layout (#310)
LNPopupController - v2.8.1

Published by LeoNatan about 5 years ago

Fixed a crash when long pressing the popup bar. (#346)

Package Rankings
Top 8.17% on Proxy.golang.org
Top 15.92% on Carthage
Top 7.18% on Swiftpackageindex.com
Top 7.02% on Cocoapods.org
Badges
Extracted from project README
GitHub release GitHub stars GitHub license GitHub issues GitHub contributors Swift Package Manager compatible Carthage compatible Star History Chart
Related Projects