Markdown in SwiftUI Text
Reading time: 1 min
This recipe shows how to use markdown in SwiftUI Text views.
SwiftUI Load Remote Image (Any Version)
Reading time: 3 min
This recipe provides a drop-in replacement for iOS 15 AsyncImage. This allows you to load images from remote sources on any SwiftUI version, with the code being exactly the same (minus the Compat
at the end of name :]).
SwiftUI TabView Styling (All iOS Versions)
Reading time: 2 min
This recipe shows how to style a TabView
in SwiftUI - change its background color, text and icon colors and styles, as well as changing the badge coloring. This solution works on all SwiftUI and iOS versions.
Reading time: 11 min
Here you can find recipes for common tasks you need when working with the new Swift 5.5 concurrency model.
Where applicable, there's before and after comparison that shows how things where done before async/await (mostly with GCD) and how they can be done now.
Navigate Fields Using Keyboard in SwiftUI
Reading time: 1 min
This recipe shows how to navigate from one text field to another using keyboard buttons in SwiftUI by combining @FocusState
and onSubmit
.