Responsive SwiftUI with ViewThatFits
Reading time: 1 min
This recipe shows how to implement responsive, adaptive SwiftUI layouts using ViewThatFits
. This view adapts to the available space by providing the first child view that fits.
Expandable Multiline SwiftUI TextField
Reading time: 1 min
This recipe shows how to implement a multiline text field in SwiftUI that expands automatically.
Reading time: 2 min
This recipe shows a more advanced SwiftUI bar chart that shows min, max and average for each data point.
Styling SwiftUI Chart with Charts Framework
Reading time: 3 min
This recipe shows how to add a style SwiftUI Charts using Apple's new Charts Framework. You can change the colors, line styles and visibility of all parts of the chart, including its plot area, marks and axes.
SwiftUI Charts - Converting AxisValue to Text
Reading time: 1 min
This quick recipe shows how to convert AxisValue
to a Text
using Apple's new Charts Framework.