#codelogix - Terminal Swift UI
1 messages · Page 1 of 1 (latest)
Hello! Yep, it should work fine, the Terminal iOS SDK doesn't really have any UI elements so there isn't much or any direct interaction with the UI layer.
Awesome! I have an existing app that uses Storyboards and the Stripe Terminal iOS SDK, and I think it would be a great candidate for a re-write using Swift UI, but didn't see any documentation regarding Swift UI and wanted to make sure.
Yeah, we don't really have anything like that for the Terminal SDK since it doesn't have any UI components.
Yeah, that makes sense. Thanks for the quick response!
It seems like all of the examples use view controllers, which don't exist in SwiftUI...so I figured there would be some examples of how to set up the SDK with SwiftUI.
Is there a way to contribute to the documentation? Thinking about getting the SDK configured and documenting how to do it with a Swift UI project.
Gotcha. It's probably best to use the Terminal SDK reference instead of the sample code that uses ViewControllers: https://stripe.dev/stripe-terminal-ios/docs/index.html
The Stripe Terminal iOS SDK is open source on GitHub here if you want to file issues or anything: https://github.com/stripe/stripe-terminal-ios