Mijick/Popups
 Watch   
 Star   
 Fork   
3 days ago
Popups

4.0.0

It's been a long journey!

We have just released the latest version of our library labelled as 4.0.0. The new number in front means that we unfortunately had to make some changes to the public API, for which we sincerely apologize. In the next section you will find migration tips to help you make the transition to the new version as painless as possible.

Migration Guide

  • Overall: We decided to keep the language consistency, so we renamed all attributes and methods containing the word Centre to Center
  • Overall: We renamed PopupManager to PopupStackand, respectively, PopupManagerID to PopupStackID
  • Popup Presentation: All the methods, i.e. present(), setCustomID(), setEnvironmentObject() and dismissAfter(), are now asynchronous. This was motivated by the concern that popups should be called from the main thread
  • Popup Dismissal: All the methods, i.e. dismissLastPopup(), dismissPopup(), dismissAllPopups(), are now asynchronous. This was motivated by the concern that popups should be dismissed from the main thread
16 days ago
Popups
17 days ago
Popups

3.0.1

What's Changed

Full Changelog: https://github.com/Mijick/Popups/compare/3.0.0...3.0.1

2024-10-17 07:56:20
Popups

3.0.0

It's been a long journey!

We have just released the latest version of our library labelled as 3.0.0. The new number in front means that we unfortunately had to make some changes to the public API, for which we sincerely apologise. In the next section you will find migration tips to help you make the transition to the new version as painless as possible.

Migration Guidelines

  • General: We changed the library name from MijickPopupView to MijickPopups
  • Setup: Method implementPopupView() has been renamed to registerPopups()
  • Popup: createContent() -> some View method has been deleted. Please declare the popup content with body: some View instead
  • Popup: The parameter of the method configurePopup() has been renamed from popup to config
  • Popup: Methods onDismiss() and onFocus() has been moved directly to the Popup structure
  • Popup Presentation: The showAndStack() method was renamed to present(). The method showAndReplace() has been removed
  • Popup Dismissal: Method dismiss() was renamed to dismissLastPopup()
  • Config: Minor changes have been made to the naming

Known issues

During the development process we unfortunately made a mistake and put all calculations in a single thread, which may (in very rare cases) cause minor lags (especially when using drag gesture). The problem will be fixed in the next version, which we plan to release in early November.

2024-09-12 05:27:18
Popups
2024-08-04 09:00:40
Popups
2024-06-18 23:30:25
Popups
2024-05-31 06:26:38
Popups