Reading time: 1 min
This recipe shows how to render a progress dialog / HUD in SwiftUI. The end result looks like this:
This component is available as a Swift Package in this repo.
In order to make this happen, we'll use the custom view dialog from this recipe. If you haven't yet, be sure to check it ou...
Reading time: 2 min
This recipe shows how to add a
TextField to a SwiftUI
alert dialog. The end result looks like this:
The dialog supports:
- Custom title and message.
- Text field with a placeholder and keyboard type.
- Confirm button, whose callback returns the content of the text field.