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 hidden (Show)

LNPopupController - v2.18.0

Published by LeoNatan 10 months ago

  • Added an event queue system to allow popup state changes to accumulate as the user calls the API (https://github.com/LeoNatan/LNPopupUI/issues/29)
  • Marked years-long deprecated API as unavailable
  • Minor dark appearance tweaks and performance optimizations
LNPopupController - v2.17.1

Published by LeoNatan 10 months ago

  • Improved the floating bar background appearance when presented in dark user interface style
    • Use the LNPopupBarAppearance class to customize popup bar appearance
  • Fixed appearance artifacts when changing the popup close button from .rounded to any other in runtime
  • Increase haptic feedback generation intensity slightly
    • Developers can disable this new behavior by setting popupBarPresentingViewController.allowPopupHapticFeedbackGeneration = false
  • Fixed an issue where marquee labels might disappear (#553)
LNPopupController - v2.17.0

Published by LeoNatan 11 months ago

  • Added support for haptic feedback when interacting with the popup

    • Enabled by default; developers can disable this new behavior by setting popupBarPresentingViewController.allowPopupHapticFeedbackGeneration = false
  • Improved layout in some edge cases

LNPopupController - v2.16.7

Published by LeoNatan 11 months ago

  • Improved popup bar RTL layout.

  • Significantly improved popup bar transitions when presented in RTL containers.

LNPopupController - v2.16.6

Published by LeoNatan 11 months ago

Improved LNPopupUI support.

LNPopupController - v2.16.5

Published by LeoNatan 11 months ago

Fixed layout issues with custom popup bar controllers (#551).

LNPopupController - v2.16.4

Published by LeoNatan 11 months ago

Fixed some layout issues with the progress view and RTL (#548)

LNPopupController - v2.16.3

Published by LeoNatan 12 months ago

  • Improved UITabBarItem.standardAppearance support
  • Fixed a visual artifact caused by updating a certain property of visual effect views during layoutSubviews
  • Improved tint color inheritance from bottom docking view
LNPopupController - v2.16.2

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.

LNPopupController - v2.16.1

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

LNPopupController - v2.16.0

Published by LeoNatan 12 months ago

  • Modernized titleTextAttributes and subtitleTextAttributes to use AttributeContainer in Swift

  • Changed how Objective C enums are imported into Swift:

    LNPopupBarStyleLNPopupBar.Style
    LNPopupBarProgressViewStyleLNPopupBar.ProgressViewStyle
    LNPopupCloseButtonStyleLNPopupCloseButton.Style
    LNPopupInteractionStyleUIViewController.PopupInteractionStyle
    LNPopupPresentationStateUIViewController.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.

LNPopupController - v2.15.24

Published by LeoNatan almost 1 year ago

Improved SwiftUI support

LNPopupController - v2.15.23

Published by LeoNatan about 1 year ago

Corrected the timing of viewIsAppearing(_:) callbacks for popup content and custom bar view controllers.

LNPopupController - v2.15.22

Published by LeoNatan about 1 year ago

  • Added image view shadow to popup bar
    • The image view shadow can be controlled using the LNPopupBarAppearance.imageShadow property
  • Tweaked the default chevron/grabber style close button tint color
LNPopupController - v2.15.21

Published by LeoNatan about 1 year ago

Included the ObjC target in the exported libraries in Package.swift (possible fix for #543)

LNPopupController - v2.15.20

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

LNPopupController - v2.15.19

Published by LeoNatan about 1 year ago

Fixed issues related to content size category support (cbpowell/MarqueeLabel#295)

LNPopupController - v2.15.18

Published by LeoNatan about 1 year ago

Improvements for SwiftUI/LNPopupUI

LNPopupController - v2.15.17

Published by LeoNatan about 1 year ago

  • Added support for very large content category sizes by adjusting the bar height (#545)
    • If you’d like to limit the largest content category size, use the maximumContentSizeCategory property on the LNPopupBar object
  • Improved bar layout in many cases (#546)
LNPopupController - v2.15.16

Published by LeoNatan about 1 year ago

  • Transition improvements
  • Improved SwiftUI support
  • Tweaked the popup bar highlight color
  • Fixed incorrect popup bar tint color management
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