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.28

Published by LeoNatan over 3 years ago

Fixed layout issues when tab bar is hidden due to hidesBottomBarWhenPushed (#434)

LNPopupController - v2.10.27

Published by LeoNatan almost 4 years ago

Improve bar tint color handling for iOS 13 and above

LNPopupController - v2.10.26

Published by LeoNatan almost 4 years ago

Correctly link popupContentViewController and popupPresentationContainerViewController for custom popup bar controllers

LNPopupController - v2.10.25

Published by LeoNatan almost 4 years ago

Better state management

LNPopupController - v2.10.24

Published by LeoNatan almost 4 years ago

Forward popup bar interactions to the content view

LNPopupController - v2.10.23

Published by LeoNatan almost 4 years ago

Support Mac Catalyst on macOS Big Sur

LNPopupController - v2.10.22

Published by LeoNatan almost 4 years ago

Mac Catalyst improvements:

  • The default styles have changed somewhat for Mac Catalyst, so make the system more Mac-like:

    • Default close button is .round instead of .chevron
    • Default interaction style is .scroll instead of .snap
  • Mouse scroll events are ignored now, and only pan/swipe gesture is counted for popup interaction

  • The visual style of the bar background is changed somewhat

  • The .none interaction style is better handled

LNPopupController - v2.10.21

Published by LeoNatan almost 4 years ago

Layout improvements

LNPopupController - v2.10.20

Published by LeoNatan about 4 years ago

Updates to effect grouping logic

LNPopupController - v2.10.19

Published by LeoNatan about 4 years ago

  • Rework how additional safe area insets are calculated for container controllers
  • Improve toolbar hiding transition
LNPopupController - v2.10.18

Published by LeoNatan about 4 years ago

  • Rework how additional safe area insets are calculated for container controllers
  • Improve toolbar hiding transition
LNPopupController - v2.10.17

Published by LeoNatan about 4 years ago

Improved Mac Catalyst support and layout

LNPopupController - v2.10.16

Published by LeoNatan about 4 years ago

Layout improvements

LNPopupController - v2.10.15

Published by LeoNatan about 4 years ago

Visual effect views of the popup bar, bar extension view and popup content view are now grouped for a consistent blur effect. If the popup bottom bar supports effect grouping (UITabBar, UIToolbar), aforementioned effect views are synchronized with the popup bottom bar as well.

LNPopupController - v2.10.14

Published by LeoNatan about 4 years ago

Visual effect views of the popup bar, bar extension view and popup content view are now grouped for a consistent blur effect. If the popup bottom bar supports effect grouping (UITabBar, UIToolbar), aforementioned effect views are synchronized with the popup bottom bar as well.

LNPopupController - v2.10.13

Published by LeoNatan about 4 years ago

Fixed a memory leak in UIKit.

LNPopupController - v2.10.12

Published by LeoNatan about 4 years ago

Fixed a tab bar layout issue on iOS 12.x.

LNPopupController - v2.10.11

Published by LeoNatan about 4 years ago

Improved interaction with UIHostingController popup content controllers.

LNPopupController - v2.10.10

Published by LeoNatan about 4 years ago

  • Layout improvements (thanks @iDevelopper)
LNPopupController - v2.10.9

Published by LeoNatan about 4 years ago

  • Use the shadow color from the bottom bar appearance, if possible (using iOS 13's UIToolbarAppearance)
  • Improve safe area management of content controllers
  • Improve popup close button positioning
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