A proof of concept demo project on how to build a dynamic form using JSON and SwiftUI.
The components are only intended to work in a vertical list similar to UIKits UITableView
.
Below you'll find the current components and their completion state:
- TextField row
- URLImage row
- Button row
- Text from JSON response
- Placeholder text from JSON response
- Background color
- Textcolor
- Placeholder textcolor (currently no API for this yet, see this StackOverflow post)
- Corner radius
- Text alignment
- Custom fonts
- Load image from URL
- Default fallback image
- Caching loaded images from network
- Loading indicator/loading image
- Support multiple aspect ratios
- Right now only 16:9 works "good"
- Text from JSON response
- Background color
- Textcolor
- Corner radius
- Custom fonts