Skip to content

Add FloatingItemList + friends to Swift.#1662

Merged
sorotokin merged 1 commit intomainfrom
floating-item-sync
Mar 27, 2026
Merged

Add FloatingItemList + friends to Swift.#1662
sorotokin merged 1 commit intomainfrom
floating-item-sync

Conversation

@davidz25
Copy link
Copy Markdown
Contributor

Having FloatingItemList + friends available on both Compose and SwiftUI helps harmonize the UI of a Multipaz app on both platforms. Port X509CertificateViewer.swift to use this rather than its own views.

Also move all Swift sources to multipaz-swiftui folder and don't include this library in SwiftTestApp. Instead, add the Swift sources to the XCode project. This way it's possible to edit the sources in XCode and compilation is also faster.

Also add "FloatingItemList examples" in both Compose Test App and Swift Test App to showcase how the various items work. Also add trailingContent to all items so it's possible to e.g. have buttons on the right side.

Test: Manually tested.

@davidz25 davidz25 requested a review from sorotokin March 27, 2026 17:33
Having FloatingItemList + friends available on both Compose and
SwiftUI helps harmonize the UI of a Multipaz app on both
platforms. Port X509CertificateViewer.swift to use this rather than
its own views.

Also move all Swift sources to `multipaz-swiftui` folder and don't
include this library in SwiftTestApp. Instead, add the Swift sources
to the XCode project. This way it's possible to edit the sources in
XCode and compilation is also faster.

Also add "FloatingItemList examples" in both Compose Test App and
Swift Test App to showcase how the various items work. Also add
`trailingContent` to all items so it's possible to e.g. have buttons
on the right side.

Test: Manually tested.
Signed-off-by: David Zeuthen <zeuthen@google.com>
@davidz25 davidz25 force-pushed the floating-item-sync branch from 659c5b1 to be6a14d Compare March 27, 2026 17:35
@sorotokin sorotokin merged commit 023bdd5 into main Mar 27, 2026
3 checks passed
@sorotokin sorotokin deleted the floating-item-sync branch March 27, 2026 21:30
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.

2 participants