Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert ScreenSharingView to SwiftUI #784

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

rasmustautsglia
Copy link
Contributor

@rasmustautsglia rasmustautsglia commented Sep 26, 2023

This PR converts ScreenSharingView from UIKit to SwiftUI

Snapshots PR: https://github.com/salemove/ios-widgets-snapshots/pull/51

MOB-2720

Copy link
Contributor

@EgorovEI EgorovEI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix also SwiftLint warnings

@yurii-glia
Copy link
Contributor

@rasmustautsglia could you also verify if adding SwiftUI works well in the case of using SwiftPackageManager? Feel free to integrate it as a local package to check it.

@rasmustautsglia rasmustautsglia force-pushed the Convert-ScreenSharingView-to-SwiftUI branch from 2f45a67 to 8b034f1 Compare September 27, 2023 13:37
@rasmustautsglia
Copy link
Contributor Author

We concluded with @yurii-glia that SwiftUI works well in case of using Swift Package Manager

.cornerRadius(4)
.padding(.horizontal, 60)
})
.accessibility(identifier: "end_screen_sharing_button")
Copy link
Contributor

@igorkravchenko igorkravchenko Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these accessibility related modifiers produce deprecation warnings? Maybe it makes sense to use migrationAccessibilityIdentifier + others (for label and hint) until we properly backport missing/deprecated features in SwiftUI for iOS 13?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed for specific example and for all the other accessibility bb2ef12

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here 860c457

@rasmustautsglia rasmustautsglia force-pushed the Convert-ScreenSharingView-to-SwiftUI branch 2 times, most recently from ef4ae58 to 1069656 Compare October 4, 2023 13:40
@rasmustautsglia
Copy link
Contributor Author

!squash

This PR converts ScreenSharingView to SwiftUI

MOB-2720
@sm-deployer sm-deployer force-pushed the Convert-ScreenSharingView-to-SwiftUI branch from a1a631f to 29b34f2 Compare October 4, 2023 14:14
@rasmustautsglia rasmustautsglia merged commit f01da43 into development Oct 4, 2023
1 check passed
@rasmustautsglia rasmustautsglia deleted the Convert-ScreenSharingView-to-SwiftUI branch October 4, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants