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

Published by LeoNatan almost 2 years ago

Suppressed UIViewController warning messages (#521)

LNPopupController - v2.14.5

Published by LeoNatan almost 2 years ago

Fixed a crash on iOS 13 & 14 (#520).

LNPopupController - v2.14.4

Published by LeoNatan almost 2 years ago

  • Further refinements for Swift

  • LNPopupItem.attributedTitle and LNPopupItem.attributedSubtitle are now exposed to Swift as Foundation.AttributedString values, rather than NSAttributedString objects. If you need to support iOS older than 15, assign the __attributedTitle and __attributedSubtitle properties directly with NSAttributedString objects

  • Fixed an issue where setting a .customizedSnap(percent) and then .snap interaction styles in Swift would not reset the percent correctly to .defaultPopupSnapPercent

LNPopupController - v2.14.3

Published by LeoNatan about 2 years ago

Further improvements to layout margin management on iOS 16

LNPopupController - v2.14.2

Published by LeoNatan about 2 years ago

Improved the popup bar dismiss transition by supporting fading out when it makes sense.

By default, the popup bar is faded out during dismissal if the popup bar is extended (see UIViewController.shouldExtendPopupBarUnderSafeArea) and the extension is visible, or if the bottom bar (toolbar or tab bar) is about to transition to its scroll edge appearance, and the scroll edge appearance has a transparent background.

LNPopupController - v2.14.1

Published by LeoNatan about 2 years ago

Added support for improved SwiftUI bar items.

LNPopupController - v2.14.0

Published by LeoNatan about 2 years ago

Improved iOS 16 support: Fixed safe area inset and layout margin issues due to internal iOS 16 changes/bugs.

LNPopupController - v2.13.7

Published by LeoNatan over 2 years ago

Further improvements to iOS 16 support.

LNPopupController - v2.13.6

Published by LeoNatan over 2 years ago

Improved handling of custom popup bar size changes.

LNPopupController - v2.13.5

Published by LeoNatan over 2 years ago

Fixed an issue where safe area insets are not calculated correctly when building with Xcode 14 beta and running on iOS 16

LNPopupController - v2.13.4

Published by LeoNatan over 2 years ago

  • Added willMoveToPopupBar:/didMoveToPopupBar methods to LNPopupCustomBarViewController
  • Fixed compilation issues in Xcode 13.3
LNPopupController - v2.13.3

Published by LeoNatan almost 3 years ago

Further improved ProMotion support

LNPopupController - v2.13.2

Published by LeoNatan almost 3 years ago

Added support for ProMotion

LNPopupController - v2.13.1

Published by LeoNatan almost 3 years ago

  • Fixed an issue where navigation controllers with hidden toolbars would not show a bar extension on first bar presentation
  • Improved the bar extension dismiss animation
LNPopupController - v2.13.0

Published by LeoNatan almost 3 years ago

  • Introduced better delegate methods for popup will/didOpen/Close, providing the popup content controller as an argument
  • The popup willOpen/Close delegate methods are now called inside an animation block to allow user animations
  • The willPresent/Dismiss popup bar delegate methods are now called inside an animation block to allow user animations
  • Improved content controller appearance/disappearance methods callback
  • The content controller viewWillAppear/Disappear methods are now called inside an animation block (when appropriate) to allow user animations
  • A background effect will always be applied to the popup content view
LNPopupController - v2.12.7

Published by LeoNatan almost 3 years ago

  • Added API for setting bar button items with animations (defaults to no animation)
  • Bar extension appearance and disappearance will now be animated alongside the bar presentation & dismissal animations
LNPopupController - v2.12.6

Published by LeoNatan about 3 years ago

  • Added support for custom SwiftUI text labels
  • Fixed SwiftUI layout issues under certain conditions
LNPopupController - v2.12.5

Published by LeoNatan about 3 years ago

Added support for LNPopupItem.attributedTitle and LNPopupItem.attributedSubtitle

LNPopupController - v2.12.4

Published by LeoNatan about 3 years ago

  • Improved scroll edge appearance behavior
LNPopupController - v2.12.3

Published by LeoNatan about 3 years ago

Fixed even more compilation issues with Xcode 12.x.

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