-
Notifications
You must be signed in to change notification settings - Fork 5
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
Convert ScreenSharingView to SwiftUI #784
Conversation
There was a problem hiding this 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
GliaWidgets/Sources/CallVisualizer/ScreenSharing/Model/ScreenSharingViewModel.swift
Outdated
Show resolved
Hide resolved
...idgets/Sources/CallVisualizer/ScreenSharing/ViewController/ScreenSharingViewController.swift
Show resolved
Hide resolved
GliaWidgets/Sources/CallVisualizer/ScreenSharing/Model/ScreenSharingViewModel.swift
Outdated
Show resolved
Hide resolved
...idgets/Sources/CallVisualizer/ScreenSharing/ViewController/ScreenSharingViewController.swift
Show resolved
Hide resolved
@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. |
2f45a67
to
8b034f1
Compare
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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here 860c457
ef4ae58
to
1069656
Compare
!squash |
This PR converts ScreenSharingView to SwiftUI MOB-2720
a1a631f
to
29b34f2
Compare
This PR converts ScreenSharingView from UIKit to SwiftUI
Snapshots PR: https://github.com/salemove/ios-widgets-snapshots/pull/51
MOB-2720