A framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps.
MIT License
Bot releases are hidden (Show)
Published by LeoNatan 10 months ago
Published by LeoNatan 10 months ago
LNPopupBarAppearance
class to customize popup bar appearance.rounded
to any other in runtimepopupBarPresentingViewController.allowPopupHapticFeedbackGeneration = false
Published by LeoNatan 11 months ago
Added support for haptic feedback when interacting with the popup
popupBarPresentingViewController.allowPopupHapticFeedbackGeneration = false
Improved layout in some edge cases
Published by LeoNatan 11 months ago
Improved popup bar RTL layout.
Significantly improved popup bar transitions when presented in RTL containers.
Published by LeoNatan 11 months ago
Improved LNPopupUI support.
Published by LeoNatan 11 months ago
Fixed layout issues with custom popup bar controllers (#551).
Published by LeoNatan 11 months ago
Fixed some layout issues with the progress view and RTL (#548)
Published by LeoNatan 12 months ago
UITabBarItem.standardAppearance
supportlayoutSubviews
Published by LeoNatan 12 months ago
Added support for UITabBarItem.standardAppearance
; the popup bar will correctly inherit the appearance from the tab bar item, if any is present.
Published by LeoNatan 12 months ago
Improved safe area inset and layout margin calculation for popup content view controllers.
https://github.com/LeoNatan/LNPopupController/assets/2270433/4c829917-b22a-4f11-ad41-fbc7eb8f61e6
Published by LeoNatan 12 months ago
Modernized titleTextAttributes
and subtitleTextAttributes
to use AttributeContainer
in Swift
Changed how Objective C enums are imported into Swift:
LNPopupBarStyle
→ LNPopupBar.Style
LNPopupBarProgressViewStyle
→ LNPopupBar.ProgressViewStyle
LNPopupCloseButtonStyle
→ LNPopupCloseButton.Style
LNPopupInteractionStyle
→ UIViewController.PopupInteractionStyle
LNPopupPresentationState
→ UIViewController.PopupPresentationState
Since this and the previous commit are API changes, bumping the minor version. In most cases, the compiler should give an appropriate “Moved” message to help ease the transition.
Published by LeoNatan almost 1 year ago
Improved SwiftUI support
Published by LeoNatan about 1 year ago
Corrected the timing of viewIsAppearing(_:)
callbacks for popup content and custom bar view controllers.
Published by LeoNatan about 1 year ago
LNPopupBarAppearance.imageShadow
propertyPublished by LeoNatan about 1 year ago
Included the ObjC target in the exported libraries in Package.swift (possible fix for #543)
Published by LeoNatan about 1 year ago
Tweaked fonts to better match Apple’s implementations of the bars
Improved bar height and spacing for large content size categories
Published by LeoNatan about 1 year ago
Fixed issues related to content size category support (cbpowell/MarqueeLabel#295)
Published by LeoNatan about 1 year ago
Improvements for SwiftUI/LNPopupUI
Published by LeoNatan about 1 year ago
maximumContentSizeCategory
property on the LNPopupBar
objectPublished by LeoNatan about 1 year ago