SwiftUI SKStoreReviewController requestReview
It's possible to request a review from the user using SKStoreReviewController with SwiftUI. It's necessary to call requestReview(in:) and pass a UIWindowScene. SKStoreReviewController hasn't been updated for SwiftUI, so the API still interacts with UIKit, which is where UIWindowScene comes from.
SwiftUI if and if let view modifiers using ViewBuilder functions
Conditional view modifiers are possible with an extension to View, taking a conditional and a ViewBuilder closure to execute if the conditional is true. This allows for conditionally calling iOS 15-only APIs in SwiftUI.
SwiftUI portrait double column split view
To imitate a SplitViewController with SwiftUI and tile the master next to the detail in portrait, you can introspect the split view controller that SwiftUI creates underneath the SwiftUI declarations and make the necessary adjustments.
SwiftUI equal scaling text size to fit
SwiftUI tutorial for scaling all the words to be the same size. This makes the longest word fit and all the other words are the same font size of that longest word. SwiftUI has the ability to scale text to fit some bounds automatically, which we can use with the bounds being the width of the screen.
Swift subclass an Objective-C class with protected init
A workaround to super.init() from your Swift subclass for Objective-C superclasses with an init marked unavailable, such as the CoreBluetooth framework's CBPeripheral.