Detect App Moving to Background in SwiftUI
Reading time: 1 min
This recipe shows two ways of detecting when your app goes to foreground or background.
GIF Images in SwiftUI
WebView in SwiftUI
Reading time: 4 min
This recipe shows how to embed a WKWebView
into SwiftUI and have a (somewhat) functional browser in your app!
Custom Progress View in SwiftUI
Reading time: 3 min
This recipe shows how to customize a Progress
view by implementing a custom ProgressViewStyle
. You'll implement a circular progress bar that supports both definite and indefinite progress.
SwiftUI Arc
Reading time: 1 min
Here's a simple recipe to help you draw Arc shapes in SwiftUI. For some reason, arcs still aren't a part of the standard Shape
package, but fortunately, wrapping them isn't too difficult.