SwiftUI Share - ShareLink for All Versions
Reading time: 3 min
This recipe shows how to share in SwiftUI. It showcases the new SwiftUI 4 ShareLink
, as well as providing a drop-in replacement compatible with all SwiftUI versions that internally relies on UIActivityViewController
.
SwiftUI TextEditor Background Color
Reading time: 1 min
This recipe shows how to change TextEditor background color in SwiftUI.
SwiftUI List Background Color
Reading time: 1 min
This recipe shows how to change List background color in SwiftUI.
Reading time: 3 min
This recipe shows how to convert a SwiftUI view to an image, i.e take its snapshot or screenshot. In SwiftUI 4, there's an awesome component dedicated to this called ImageRenderer
, but the same can be achieved on any SwiftUI version.
Reading time: 1 min
This quick recipe shows how to set custom locale, calendar and time zone on a SwiftUI DatePicker and MultiDatePicker.