Skip to content

Conversation

@CalebRas
Copy link
Collaborator

@CalebRas CalebRas commented Jul 15, 2025

Description

This PR removes uses of the deprecated PopupView.init(popup:isPresented:) in:

  • Configure clusters
  • Display clusters
  • Show popup
  • Set up location-driven geotriggers

floatingPanel uses also had to be replaced since the navigation stack used by the new Popup View initializer would interfere with the one in the Samples. Display clusters required some additional changes to handle the "Geoelements" list that is shown in the presentation along with the popup.

Linked Issue(s)

How To Test

  • Run the project using the latest swift-daily.
  • Ensure the popups present as expected in all the affected samples on iPhone, iPad, and Mac Catalyst.

Screenshots

Before After
Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-09 at 13 18 30 Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-14 at 14 00 34
Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-09 at 13 18 49 Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-14 at 17 56 00
Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-09 at 13 20 05 Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-14 at 14 51 35
Simulator Screenshot - 1 - iPhone 16 Pro - 2025-07-09 at 13 20 32 Simulator Screenshot - iPhone 16 Pro - 2025-07-14 at 15 26 51

@CalebRas CalebRas self-assigned this Jul 15, 2025
@CalebRas CalebRas requested review from a team, dfeinzimer and njarecha and removed request for a team July 21, 2025 15:54
@CalebRas CalebRas marked this pull request as ready for review July 21, 2025 15:54
@CalebRas CalebRas merged commit 0cbd014 into v.next Jul 22, 2025
1 check passed
@CalebRas CalebRas deleted the Caleb/Fix-PopupViewWarnings branch July 22, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants